Class IllegalExecutionStateException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.apache.flink.runtime.executiongraph.IllegalExecutionStateException
All Implemented Interfaces:
Serializable

public class IllegalExecutionStateException extends IllegalStateException
A special IllegalStateException indicating a mismatch in the expected and actual ExecutionState of an Execution.
See Also:
  • Constructor Details

    • IllegalExecutionStateException

      public IllegalExecutionStateException(ExecutionState expected, ExecutionState actual)
      Creates a new IllegalExecutionStateException with the error message indicating the expected and actual state.
      Parameters:
      expected - The expected state
      actual - The actual state
    • IllegalExecutionStateException

      public IllegalExecutionStateException(Execution execution, ExecutionState expected, ExecutionState actual)
      Creates a new IllegalExecutionStateException with the error message indicating the expected and actual state.
      Parameters:
      expected - The expected state
      actual - The actual state