Serializable
, org.refcodes.exception.ErrorCodeAccessor
, org.refcodes.exception.Trap
, org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>
public class BasicAuthRequiredException extends UnauthorizedException
HeaderField.WWW_AUTHENTICATE
data was found, e.g.
BasicAuthCredentials
was null.org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
org.refcodes.mixin.StatusCodeAccessor.StatusCodeBuilder<SC extends Object,B extends org.refcodes.mixin.StatusCodeAccessor.StatusCodeBuilder<SC,B>>, org.refcodes.mixin.StatusCodeAccessor.StatusCodeMutator<SC extends Object>, org.refcodes.mixin.StatusCodeAccessor.StatusCodeProperty<SC extends Object>
Constructor | Description |
---|---|
BasicAuthRequiredException(String message) |
Instantiates a new basic auth required exception.
|
BasicAuthRequiredException(String aMessage,
String aErrorCode) |
Instantiates a new basic auth required exception.
|
BasicAuthRequiredException(String message,
Throwable cause) |
Instantiates a new basic auth required exception.
|
BasicAuthRequiredException(String aMessage,
Throwable aCause,
String aErrorCode) |
Instantiates a new basic auth required exception.
|
BasicAuthRequiredException(Throwable cause) |
Instantiates a new basic auth required exception.
|
BasicAuthRequiredException(Throwable aCause,
String aErrorCode) |
Instantiates a new basic auth required exception.
|
getStatusCode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BasicAuthRequiredException(String aMessage, String aErrorCode)
aMessage
- the messageaErrorCode
- the error codepublic BasicAuthRequiredException(String aMessage, Throwable aCause, String aErrorCode)
aMessage
- the messageaCause
- the causeaErrorCode
- the error codepublic BasicAuthRequiredException(String message, Throwable cause)
message
- the messagecause
- the causepublic BasicAuthRequiredException(String message)
message
- the messagepublic BasicAuthRequiredException(Throwable aCause, String aErrorCode)
aCause
- the causeaErrorCode
- the error codepublic BasicAuthRequiredException(Throwable cause)
cause
- the causeCopyright © 2018. All rights reserved.