Package io.kadai.task.api.exceptions
Class InvalidCallbackStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.kadai.common.api.exceptions.KadaiException
io.kadai.task.api.exceptions.InvalidCallbackStateException
- All Implemented Interfaces:
Serializable
public class InvalidCallbackStateException
extends io.kadai.common.api.exceptions.KadaiException
This exception is thrown when the callback
state of the Task doesn't allow the requested operation.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvalidCallbackStateException
(String taskId, CallbackState taskCallbackState, CallbackState... requiredCallbackStates) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class io.kadai.common.api.exceptions.KadaiException
ensureNullIsHandled, getErrorCode, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
ERROR_KEY
- See Also:
-
-
Constructor Details
-
InvalidCallbackStateException
public InvalidCallbackStateException(String taskId, CallbackState taskCallbackState, CallbackState... requiredCallbackStates)
-
-
Method Details
-
getTaskCallbackState
-
getRequiredCallbackStates
-
getTaskId
-