public final class OperationException extends Exception
OperationSupport,
InstallSupport,
Serialized Form| Modifier 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() |
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.