Serializable
, org.refcodes.exception.ErrorCodeAccessor
, org.refcodes.exception.Trap
, org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>
BasicAuthFailureException
, BasicAuthRequiredException
, BasicAuthRequiredRuntimeException
public class UnauthorizedException extends HttpStatusException
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 |
---|---|
UnauthorizedException(String message) |
Instantiates a new unauthorized exception.
|
UnauthorizedException(String aMessage,
String aErrorCode) |
Instantiates a new unauthorized exception.
|
UnauthorizedException(String message,
Throwable cause) |
Instantiates a new unauthorized exception.
|
UnauthorizedException(String aMessage,
Throwable aCause,
String aErrorCode) |
Instantiates a new unauthorized exception.
|
UnauthorizedException(Throwable cause) |
Instantiates a new unauthorized exception.
|
UnauthorizedException(Throwable aCause,
String aErrorCode) |
Instantiates a new unauthorized 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 UnauthorizedException(String aMessage, String aErrorCode)
aMessage
- the messageaErrorCode
- the error codepublic UnauthorizedException(String aMessage, Throwable aCause, String aErrorCode)
aMessage
- the messageaCause
- the causeaErrorCode
- the error codepublic UnauthorizedException(String message, Throwable cause)
message
- the messagecause
- the causepublic UnauthorizedException(String message)
message
- the messagepublic UnauthorizedException(Throwable aCause, String aErrorCode)
aCause
- the causeaErrorCode
- the error codepublic UnauthorizedException(Throwable cause)
cause
- the causeCopyright © 2018. All rights reserved.