Class IllegalExecutionStateException

    • Constructor Detail

      • 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