Class NotAuthorizedOnWorkbasketException
java.lang.Object
java.lang.Throwable
java.lang.Exception
pro.taskana.common.api.exceptions.TaskanaException
pro.taskana.workbasket.api.exceptions.NotAuthorizedOnWorkbasketException
- All Implemented Interfaces:
Serializable
This exception is thrown when the current user does not have a certain permission on a Workbasket.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNotAuthorizedOnWorkbasketException(String currentUserId, String workbasketKey, String domain, WorkbasketPermission... requiredPermissions) NotAuthorizedOnWorkbasketException(String currentUserId, String workbasketId, WorkbasketPermission... requiredPermissions) -
Method Summary
Modifier and TypeMethodDescriptionMethods 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_KEY_DOMAIN
- See Also:
-
ERROR_KEY_ID
- See Also:
-
-
Constructor Details
-
NotAuthorizedOnWorkbasketException
public NotAuthorizedOnWorkbasketException(String currentUserId, String workbasketId, WorkbasketPermission... requiredPermissions) -
NotAuthorizedOnWorkbasketException
public NotAuthorizedOnWorkbasketException(String currentUserId, String workbasketKey, String domain, WorkbasketPermission... requiredPermissions)
-
-
Method Details
-
getWorkbasketKey
-
getDomain
-
getWorkbasketId
-
getRequiredPermissions
-
getCurrentUserId
-