Class InvalidCallbackStateException

All Implemented Interfaces:
Serializable

public class InvalidCallbackStateException extends TaskanaException
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()