Package pro.taskana.task.api.exceptions
Class InvalidStateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- pro.taskana.common.api.exceptions.TaskanaException
-
- pro.taskana.task.api.exceptions.InvalidStateException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidCallbackStateException,InvalidTaskStateException
public class InvalidStateException extends TaskanaException
This exception is thrown when the current state doesn't allow the requested operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedInvalidStateException(String msg, ErrorCode errorCode)
-
Method Summary
-
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
-
-