Serializablepublic final class OperationException extends Exception
OperationSupport,
InstallSupport,
Serialized Form| Modifier 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, waitaddSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic OperationException(OperationException.ERROR_TYPE error)
OperationExceptionerror - the definition of failurepublic OperationException(OperationException.ERROR_TYPE error, Exception x)
OperationExceptionerror - 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)
OperationExceptionerror - the definition of failuremessage - (is saved for later retrieval by the
getLocalizedMessage() method)public String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic OperationException.ERROR_TYPE getErrorType()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.