Class AuthorizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gcube.common.security.exception.SecurityException
org.gcube.common.security.exception.AuthorizationException
- All Implemented Interfaces:
Serializable
A request or a token is not authorized: for example a token that cannot be read, or that is
issued for more than one Context.
It takes the place of org.gcube.common.authorization.library.exception.AuthorizationException
of common-authorization.
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationException(String message) Creates the exception with a detail message.AuthorizationException(String message, Throwable cause) Creates the exception with a detail message and a cause.AuthorizationException(Throwable cause) Creates the exception with a cause. -
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
Creates the exception with a detail message.- Parameters:
message- the detail message
-
AuthorizationException
Creates the exception with a detail message and a cause.- Parameters:
message- the detail messagecause- the cause
-
AuthorizationException
Creates the exception with a cause.- Parameters:
cause- the cause
-