Class BasicAuthFailureRuntimeException

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

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

    • BasicAuthFailureRuntimeException

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

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

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

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

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

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