Class OperationFailedRuntimeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.as.controller._private.OperationFailedRuntimeException
All Implemented Interfaces:
Serializable, OperationClientException
Direct Known Subclasses:
UnauthorizedException

public class OperationFailedRuntimeException extends RuntimeException implements OperationClientException
Runtime exception indicating an operation has failed due to a client mistake (e.g. an operation with invalid parameters was invoked.) Should not be used to report server failures.

This is a RuntimeException variant of OperationFailedException and is intended for use in cases where the semantics of OperationFailedException are desired but an API does not allow a checked exception to be thrown. See https://issues.jboss.org/browse/AS7-2905 .

Author:
Brian Stansberry (c) 2011 Red Hat Inc.
See Also:
  • Constructor Details

    • OperationFailedRuntimeException

      public OperationFailedRuntimeException(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
  • Method Details