Package org.refcodes.net
Class BasicAuthRequiredRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.refcodes.exception.AbstractException
-
- org.refcodes.net.NetException
-
- org.refcodes.net.HttpException
-
- org.refcodes.net.HttpStatusException
-
- org.refcodes.net.UnauthorizedException
-
- org.refcodes.net.BasicAuthRequiredRuntimeException
-
public class BasicAuthRequiredRuntimeException extends UnauthorizedException
Thrown in case HTTP basic authorization is required but no requiredHeaderField.WWW_AUTHENTICATE
data was found, e.g.BasicAuthCredentials
was null.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.StatusCodeAccessor
org.refcodes.mixin.StatusCodeAccessor.StatusCodeBuilder<SC extends java.lang.Object,B extends org.refcodes.mixin.StatusCodeAccessor.StatusCodeBuilder<SC,B>>, org.refcodes.mixin.StatusCodeAccessor.StatusCodeMutator<SC extends java.lang.Object>, org.refcodes.mixin.StatusCodeAccessor.StatusCodeProperty<SC extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description BasicAuthRequiredRuntimeException(java.lang.String message)
Instantiates a new basic auth required runtime exception.BasicAuthRequiredRuntimeException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new basic auth required runtime exception.BasicAuthRequiredRuntimeException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new basic auth required runtime exception.BasicAuthRequiredRuntimeException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new basic auth required runtime exception.BasicAuthRequiredRuntimeException(java.lang.Throwable cause)
Instantiates a new basic auth required runtime exception.BasicAuthRequiredRuntimeException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new basic auth required runtime exception.
-
Method Summary
-
Methods inherited from class org.refcodes.net.HttpStatusException
getStatusCode
-
-
-
-
Constructor Detail
-
BasicAuthRequiredRuntimeException
public BasicAuthRequiredRuntimeException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new basic auth required runtime exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
BasicAuthRequiredRuntimeException
public BasicAuthRequiredRuntimeException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new basic auth required runtime exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
BasicAuthRequiredRuntimeException
public BasicAuthRequiredRuntimeException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new basic auth required runtime exception.- Parameters:
message
- the messagecause
- the cause
-
BasicAuthRequiredRuntimeException
public BasicAuthRequiredRuntimeException(java.lang.String message)
Instantiates a new basic auth required runtime exception.- Parameters:
message
- the message
-
BasicAuthRequiredRuntimeException
public BasicAuthRequiredRuntimeException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new basic auth required runtime exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
BasicAuthRequiredRuntimeException
public BasicAuthRequiredRuntimeException(java.lang.Throwable cause)
Instantiates a new basic auth required runtime exception.- Parameters:
cause
- the cause
-
-