Class OperationExecutionException

    • Constructor Detail

      • OperationExecutionException

        public OperationExecutionException​(org.jboss.as.controller.client.Operation operation,
                                           org.jboss.dmr.ModelNode result)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a new exception with the failure message from the result.
        Parameters:
        operation - the operation which failed
        result - the result of the operation
      • OperationExecutionException

        public OperationExecutionException​(org.jboss.dmr.ModelNode operation,
                                           org.jboss.dmr.ModelNode result)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a new exception with the failure message from the result.
        Parameters:
        operation - the operation which failed
        result - the result of the operation
      • OperationExecutionException

        public OperationExecutionException​(String message,
                                           org.jboss.as.controller.client.Operation operation,
                                           org.jboss.dmr.ModelNode result)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a new exception with the failure message from the result.
        Parameters:
        message - the message to prepend to the failure message
        operation - the operation which failed
        result - the result of the operation
      • OperationExecutionException

        public OperationExecutionException​(String message,
                                           org.jboss.dmr.ModelNode operation,
                                           org.jboss.dmr.ModelNode result)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a new exception with the failure message from the result.
        Parameters:
        message - the message to prepend to the failure message
        operation - the operation which failed
        result - the result of the operation
    • Method Detail

      • getExecutionResult

        public org.jboss.dmr.ModelNode getExecutionResult()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Returns the result from the operation executed.
        Returns:
        the result of the operation