Package pro.taskana.task.api.exceptions
Class TaskAlreadyExistException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- pro.taskana.common.api.exceptions.TaskanaException
-
- pro.taskana.task.api.exceptions.TaskAlreadyExistException
-
- All Implemented Interfaces:
Serializable
public class TaskAlreadyExistException extends TaskanaException
This exception is thrown when a Task is going to be created, but a Task with the same external id does already exist.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskAlreadyExistException(String externalId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExternalId()-
Methods inherited from class pro.taskana.common.api.exceptions.TaskanaException
ensureNullIsHandled, getErrorCode, toString
-
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
-
-
Constructor Detail
-
TaskAlreadyExistException
public TaskAlreadyExistException(String externalId)
-
-
Method Detail
-
getExternalId
public String getExternalId()
-
-