public final class OperationException extends Exception
OperationSupport
,
InstallSupport
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
OperationException.ERROR_TYPE
Define the failure
|
Constructor and Description |
---|
OperationException(OperationException.ERROR_TYPE error)
Constructs an
OperationException |
OperationException(OperationException.ERROR_TYPE error,
Exception x)
Constructs an
OperationException |
OperationException(OperationException.ERROR_TYPE error,
String message)
Constructs an
OperationException |
Modifier and Type | Method and Description |
---|---|
OperationException.ERROR_TYPE |
getErrorType() |
String |
getLocalizedMessage() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public OperationException(OperationException.ERROR_TYPE error)
OperationException
error
- the definition of failurepublic OperationException(OperationException.ERROR_TYPE error, Exception x)
OperationException
error
- the definition of failurex
- the cause (x.getLocalizedMessage
is saved for later retrieval by the
OperationException.getLocalizedMessage()
method)public OperationException(OperationException.ERROR_TYPE error, String message)
OperationException
error
- the definition of failuremessage
- (is saved for later retrieval by the
OperationException.getLocalizedMessage()
method)public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public OperationException.ERROR_TYPE getErrorType()