public class OperationFailedException extends Exception implements OperationClientException
| Constructor and Description |
|---|
OperationFailedException(org.jboss.dmr.ModelNode description)
Constructs a
OperationFailedException with no detail message. |
OperationFailedException(String message)
Constructs a
OperationFailedException with the given message. |
OperationFailedException(String msg,
org.jboss.dmr.ModelNode description)
Constructs a
OperationFailedException with the specified detail message. |
OperationFailedException(String message,
Throwable cause)
Constructs a
OperationFailedException with the specified cause and message. |
OperationFailedException(String msg,
Throwable cause,
org.jboss.dmr.ModelNode description)
Constructs a
OperationFailedException with the specified detail message and cause. |
OperationFailedException(Throwable cause,
org.jboss.dmr.ModelNode description)
Constructs a
OperationFailedException with the specified cause. |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.dmr.ModelNode |
getFailureDescription()
Get the detyped failure description.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic OperationFailedException(String message)
OperationFailedException with the given message.
The message is also used as the failure description.
The cause is not initialized, and may
subsequently be initialized by a call to initCause.message - the description of the failurepublic OperationFailedException(String message, Throwable cause)
OperationFailedException with the specified cause and message.
The message is also used as the failure description.message - the description of the failurecause - the cause (which is saved for later retrieval by the Throwable.getCause() method)public OperationFailedException(org.jboss.dmr.ModelNode description)
OperationFailedException with no detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause.description - the description of the failurepublic OperationFailedException(String msg, org.jboss.dmr.ModelNode description)
OperationFailedException with the specified detail message. The cause is not initialized,
and may subsequently be initialized by a call to initCause.msg - the detail messagedescription - the description of the failurepublic OperationFailedException(Throwable cause, org.jboss.dmr.ModelNode description)
OperationFailedException with the specified cause. The detail message is set to:
(cause == null ? null : cause.toString())(which typically contains the class and detail message of
cause).cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)description - the description of the failurepublic OperationFailedException(String msg, Throwable cause, org.jboss.dmr.ModelNode description)
OperationFailedException with the specified detail message and cause.msg - the detail messagecause - the cause (which is saved for later retrieval by the Throwable.getCause() method)description - the description of the failurepublic org.jboss.dmr.ModelNode getFailureDescription()
getFailureDescription in interface OperationClientExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.