Class NotAuthorizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
pro.taskana.common.api.exceptions.TaskanaException
pro.taskana.common.api.exceptions.NotAuthorizedException
- All Implemented Interfaces:
Serializable
This exception is thrown when the current user is not in a certain role
it is supposed to be.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class pro.taskana.common.api.exceptions.TaskanaException
ensureNullIsHandled, getErrorCode, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
ERROR_KEY
- See Also:
-
-
Constructor Details
-
NotAuthorizedException
-
-
Method Details
-
getRoles
-
getCurrentUserId
-