Class MalformedServiceLevelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- pro.taskana.common.api.exceptions.TaskanaException
-
- pro.taskana.classification.api.exceptions.MalformedServiceLevelException
-
- All Implemented Interfaces:
Serializable
public class MalformedServiceLevelException extends TaskanaException
This exception is thrown when the service level of the Classification has not the required format. The service level has to be a positive ISO-8601 duration format and TASKANA only supports whole days. The format must be 'PnD'.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MalformedServiceLevelException(String serviceLevel, String classificationKey, String domain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassificationKey()StringgetDomain()StringgetServiceLevel()-
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
-
-