Class BasicAuthRequiredRuntimeException

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

public class BasicAuthRequiredRuntimeException extends UnauthorizedException
Thrown in case HTTP basic authorization is required but no required HeaderField.WWW_AUTHENTICATE data was found, e.g. BasicAuthCredentials was null.
See Also:
  • Constructor Details

    • BasicAuthRequiredRuntimeException

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

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

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

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

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

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