Package pro.taskana.task.api.exceptions
Class NotAuthorizedOnTaskCommentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
pro.taskana.common.api.exceptions.TaskanaException
pro.taskana.task.api.exceptions.NotAuthorizedOnTaskCommentException
- All Implemented Interfaces:
Serializable
This exception is thrown when the current user is not the creator of the TaskComment
it tries to modify.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNotAuthorizedOnTaskCommentException(String currentUserId, String taskCommentId) -
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
-
NotAuthorizedOnTaskCommentException
-
-
Method Details
-
getCurrentUserId
-
getTaskCommentId
-