Class ClassificationInUseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- pro.taskana.common.api.exceptions.TaskanaException
-
- pro.taskana.classification.api.exceptions.ClassificationInUseException
-
- All Implemented Interfaces:
Serializable
public class ClassificationInUseException extends TaskanaException
This exception is thrown when a specific Classification was tried to be deleted while still being in use.
This could mean that there are either Tasks or Attachments associated with it.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassificationInUseException(Classification classification, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassificationKey()StringgetDomain()-
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
-
-
-
-
Field Detail
-
ERROR_KEY
public static final String ERROR_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClassificationInUseException
public ClassificationInUseException(Classification classification, Throwable cause)
-
-