code: public static OperationFailedException createOperationFailure(final Throwable cause, final String message) {
          return new OperationFailedException(cause, new ModelNode(message));
      }
docs: Creates a new {@link OperationFailedException} with the message as a {@link ModelNode model node} and the cause.
  
  @param cause   the cause of the error
  @param message the message to initialize the {@link ModelNode model node} with
  
  @return a new {@link OperationFailedException}