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 Details

  • Constructor Details

    • InvalidCallbackStateException

      public InvalidCallbackStateException(String taskId, CallbackState taskCallbackState, CallbackState... requiredCallbackStates)
  • Method Details

    • getTaskCallbackState

      public CallbackState getTaskCallbackState()
    • getRequiredCallbackStates

      public CallbackState[] getRequiredCallbackStates()
    • getTaskId

      public String getTaskId()