Package pro.taskana.task.api.exceptions
Class MismatchedTaskCommentCreatorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- pro.taskana.common.api.exceptions.TaskanaException
-
- pro.taskana.common.api.exceptions.NotAuthorizedException
-
- pro.taskana.task.api.exceptions.MismatchedTaskCommentCreatorException
-
- All Implemented Interfaces:
Serializable
public class MismatchedTaskCommentCreatorException extends NotAuthorizedException
This exception is thrown when the current user is not the creator of the TaskComment it tries to modify.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MismatchedTaskCommentCreatorException(String currentUserId, String taskCommentId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCurrentUserId()StringgetTaskCommentId()-
Methods inherited from class pro.taskana.common.api.exceptions.NotAuthorizedException
toString
-
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
-
-
-
-
Field Detail
-
ERROR_KEY
public static final String ERROR_KEY
- See Also:
- Constant Field Values
-
-