Package pro.taskana.task.api.exceptions
Class InvalidOwnerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- pro.taskana.common.api.exceptions.TaskanaException
-
- pro.taskana.task.api.exceptions.InvalidOwnerException
-
- All Implemented Interfaces:
Serializable
public class InvalidOwnerException extends TaskanaException
This exception is thrown when the current user is not the owner of the Task.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidOwnerException(String currentUserId, String taskId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCurrentUserId()StringgetTaskId()-
Methods inherited from class pro.taskana.common.api.exceptions.TaskanaException
getErrorCode, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-