Serializable
public final class OperationException extends Exception
OperationSupport
,
InstallSupport
,
Serialized FormModifier and Type | Class | Description |
---|---|---|
static class |
OperationException.ERROR_TYPE |
Define the failure
|
Constructor | 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 | Description |
---|---|---|
OperationException.ERROR_TYPE |
getErrorType() |
|
String |
getLocalizedMessage() |
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
getLocalizedMessage()
method)public OperationException(OperationException.ERROR_TYPE error, String message)
OperationException
error
- the definition of failuremessage
- (is saved for later retrieval by the
getLocalizedMessage()
method)public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public OperationException.ERROR_TYPE getErrorType()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.