public class OperationExecutionException extends RuntimeException
Constructor and Description |
---|
OperationExecutionException(org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode result)
Creates a new exception with the failure message from the result.
|
OperationExecutionException(org.jboss.as.controller.client.Operation operation,
org.jboss.dmr.ModelNode result)
Creates a new exception with the failure message from the result.
|
OperationExecutionException(String message,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode result)
Creates a new exception with the failure message from the result.
|
OperationExecutionException(String message,
org.jboss.as.controller.client.Operation operation,
org.jboss.dmr.ModelNode result)
Creates a new exception with the failure message from the result.
|
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
getExecutionResult()
Returns the result from the operation executed.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OperationExecutionException(org.jboss.as.controller.client.Operation operation, org.jboss.dmr.ModelNode result)
operation
- the operation which failedresult
- the result of the operationpublic OperationExecutionException(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode result)
operation
- the operation which failedresult
- the result of the operationpublic OperationExecutionException(String message, org.jboss.as.controller.client.Operation operation, org.jboss.dmr.ModelNode result)
message
- the message to prepend to the failure messageoperation
- the operation which failedresult
- the result of the operationpublic OperationExecutionException(String message, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode result)
message
- the message to prepend to the failure messageoperation
- the operation which failedresult
- the result of the operationCopyright © 2021 JBoss by Red Hat. All rights reserved.