Class ClassificationAlreadyExistException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- pro.taskana.common.api.exceptions.TaskanaException
-
- pro.taskana.classification.api.exceptions.ClassificationAlreadyExistException
-
- All Implemented Interfaces:
Serializable
public class ClassificationAlreadyExistException extends TaskanaException
This exception is thrown when a Classification does already exits, but was tried to be created with the same id and domain.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassificationAlreadyExistException(String key, String domain)ClassificationAlreadyExistException(Classification classification)
-
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
-
ClassificationAlreadyExistException
public ClassificationAlreadyExistException(Classification classification)
-
-