Class OperationFailedException

    • Constructor Detail

      • OperationFailedException

        public OperationFailedException​(String message)
        Constructs a 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.
        Parameters:
        message - the description of the failure. Cannot be null
      • OperationFailedException

        public OperationFailedException​(String message,
                                        Throwable cause)
        Constructs a OperationFailedException with the specified cause and message. The message is also used as the failure description.
        Parameters:
        message - the description of the failure. Cannot be null
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)
      • OperationFailedException

        public OperationFailedException​(String msg,
                                        org.jboss.dmr.ModelNode description)
        Constructs a OperationFailedException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
        Parameters:
        msg - the detail message
        description - the description of the failure. Cannot be null
      • OperationFailedException

        public OperationFailedException​(Throwable cause)
        Constructs a OperationFailedException with the specified cause. The cause's message is also used as the failure description.
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). Cannot be null
      • OperationFailedException

        public OperationFailedException​(Throwable cause,
                                        org.jboss.dmr.ModelNode description)
        Constructs a 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).
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)
        description - the description of the failure. Cannot be null
      • OperationFailedException

        public OperationFailedException​(String msg,
                                        Throwable cause,
                                        org.jboss.dmr.ModelNode description)
        Constructs a OperationFailedException with the specified detail message and cause.
        Parameters:
        msg - the detail message
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)
        description - the description of the failure. Cannot be null