public final class OperationException
extends java.lang.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,
java.lang.Exception x) |
Constructs an
OperationException |
OperationException(OperationException.ERROR_TYPE error,
java.lang.String message) |
Constructs an
OperationException |
| Modifier and Type | Method | Description |
|---|---|---|
OperationException.ERROR_TYPE |
getErrorType() |
|
java.lang.String |
getLocalizedMessage() |
|
java.lang.String |
toString() |
public OperationException(OperationException.ERROR_TYPE error)
OperationExceptionerror - the definition of failurepublic OperationException(OperationException.ERROR_TYPE error, java.lang.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, java.lang.String message)
OperationExceptionerror - the definition of failuremessage - (is saved for later retrieval by the
getLocalizedMessage() method)public java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwablepublic OperationException.ERROR_TYPE getErrorType()
public java.lang.String toString()
toString in class java.lang.ThrowableBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.