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
- Direct Known Subclasses:
MismatchedRoleException
public class NotAuthorizedException extends TaskanaException
This exception is thrown when a user is not authorized.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNotAuthorizedException(String msg, ErrorCode errorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()-
Methods inherited from class pro.taskana.common.api.exceptions.TaskanaException
getErrorCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classTaskanaException
-
-