Class BasicAuthFailureException

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

public class BasicAuthFailureException extends UnauthorizedException
Thrown in case HTTP basic authorization failed, e.g. verifying BasicAuthCredentials failed.
See Also:
  • Constructor Details

    • BasicAuthFailureException

      public BasicAuthFailureException(String aMessage, String aErrorCode)
      Instantiates a new basic auth failure exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • BasicAuthFailureException

      public BasicAuthFailureException(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new basic auth failure exception.
      Parameters:
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • BasicAuthFailureException

      public BasicAuthFailureException(String message, Throwable cause)
      Instantiates a new basic auth failure exception.
      Parameters:
      message - the message
      cause - the cause
    • BasicAuthFailureException

      public BasicAuthFailureException(String message)
      Instantiates a new basic auth failure exception.
      Parameters:
      message - the message
    • BasicAuthFailureException

      public BasicAuthFailureException(Throwable aCause, String aErrorCode)
      Instantiates a new basic auth failure exception.
      Parameters:
      aCause - the cause
      aErrorCode - the error code
    • BasicAuthFailureException

      public BasicAuthFailureException(Throwable cause)
      Instantiates a new basic auth failure exception.
      Parameters:
      cause - the cause