Package com.linecorp.centraldogma.common
Class AuthorizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.centraldogma.common.CentralDogmaException
com.linecorp.centraldogma.common.AuthorizationException
- All Implemented Interfaces:
Serializable
A
CentralDogmaException
that is raised when a client failed to authenticate or attempted to
perform an unauthorized operation.- See Also:
-
Constructor Summary
ModifierConstructorDescriptionCreates a new instance.AuthorizationException
(String message) Creates a new instance.AuthorizationException
(String message, boolean writableStackTrace) Creates a new instance.AuthorizationException
(String message, Throwable cause) Creates a new instance.protected
AuthorizationException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new instance.AuthorizationException
(Throwable cause) Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthorizationException
public AuthorizationException()Creates a new instance. -
AuthorizationException
Creates a new instance. -
AuthorizationException
Creates a new instance. -
AuthorizationException
Creates a new instance. -
AuthorizationException
Creates a new instance.- Parameters:
message
- the detail messagewritableStackTrace
- whether or not the stack trace should be writable
-
AuthorizationException
protected AuthorizationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new instance.
-