Package pro.taskana.task.api.exceptions
Class AttachmentPersistenceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- pro.taskana.common.api.exceptions.TaskanaException
-
- pro.taskana.task.api.exceptions.AttachmentPersistenceException
-
- All Implemented Interfaces:
Serializable
public class AttachmentPersistenceException extends TaskanaException
Thrown, when an attachment should be inserted to the DB, but it does already exist.
This may happen when a not inserted attachment with ID will be added twice on a task. This can“t be happen it the correct Task-Methods will be used instead the List ones.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttachmentPersistenceException(String msg, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-