Class UnauthorizedException

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

public class UnauthorizedException
extends HttpStatusException
The Class UnauthorizedException.
See Also:
Serialized Form
  • Constructor Details

    • UnauthorizedException

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

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

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

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

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

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