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:
  • Field Details

  • Constructor Details

    • MalformedServiceLevelException

      public MalformedServiceLevelException(String serviceLevel, String classificationKey, String domain)
  • Method Details

    • getServiceLevel

      public String getServiceLevel()
    • getClassificationKey

      public String getClassificationKey()
    • getDomain

      public String getDomain()