Class UnauthorizedRuntimeException

All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>
Direct Known Subclasses:
BasicAuthFailureRuntimeException

public class UnauthorizedRuntimeException
extends HttpStatusRuntimeException
The Class UnauthorizedRuntimeException.
See Also:
Serialized Form
  • Constructor Details

    • UnauthorizedRuntimeException

      public UnauthorizedRuntimeException​(String aMessage, String aErrorCode)
      Instantiates a new unauthorized runtime exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • UnauthorizedRuntimeException

      public UnauthorizedRuntimeException​(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new unauthorized runtime exception.
      Parameters:
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • UnauthorizedRuntimeException

      public UnauthorizedRuntimeException​(String message, Throwable cause)
      Instantiates a new unauthorized runtime exception.
      Parameters:
      message - the message
      cause - the cause
    • UnauthorizedRuntimeException

      public UnauthorizedRuntimeException​(String message)
      Instantiates a new unauthorized runtime exception.
      Parameters:
      message - the message
    • UnauthorizedRuntimeException

      public UnauthorizedRuntimeException​(Throwable aCause, String aErrorCode)
      Instantiates a new unauthorized runtime exception.
      Parameters:
      aCause - the cause
      aErrorCode - the error code
    • UnauthorizedRuntimeException

      public UnauthorizedRuntimeException​(Throwable cause)
      Instantiates a new unauthorized runtime exception.
      Parameters:
      cause - the cause