Class UnauthorizedException

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

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

    • UnauthorizedException

      public UnauthorizedException(String aMessage, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aErrorCode - The error code identifying this exception.
    • UnauthorizedException

      public UnauthorizedException(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • UnauthorizedException

      public UnauthorizedException(String aMessage, Throwable aCause)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
    • UnauthorizedException

      public UnauthorizedException(String aMessage)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
    • UnauthorizedException

      public UnauthorizedException(Throwable aCause, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • UnauthorizedException

      public UnauthorizedException(Throwable aCause)
      Instantiates a new according exception.
      Parameters:
      aCause - The Throwable (Exception) causing this exception.
    • UnauthorizedException

      public UnauthorizedException(String aMessage, Url aUrl, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aUrl - The URL involved in this exception.
      aErrorCode - The error code identifying this exception.
    • UnauthorizedException

      public UnauthorizedException(String aMessage, Url aUrl, Throwable aCause, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aUrl - The URL involved in this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • UnauthorizedException

      public UnauthorizedException(String aMessage, Url aUrl, Throwable aCause)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aUrl - The URL involved in this exception.
      aCause - The Throwable (Exception) causing this exception.
    • UnauthorizedException

      public UnauthorizedException(String aMessage, Url aUrl)
      Instantiates a new according exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aUrl - The URL involved in this exception.
    • UnauthorizedException

      public UnauthorizedException(Url aUrl, Throwable aCause, String aErrorCode)
      Instantiates a new according exception.
      Parameters:
      aUrl - The URL involved in this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • UnauthorizedException

      public UnauthorizedException(Url aUrl, Throwable aCause)
      Instantiates a new according exception.
      Parameters:
      aUrl - The URL involved in this exception.
      aCause - The Throwable (Exception) causing this exception.