public class IllegalExecutionStateException extends IllegalStateException
IllegalStateException
indicating a mismatch in the expected and actual
ExecutionState
of an Execution
.Constructor and Description |
---|
IllegalExecutionStateException(Execution execution,
ExecutionState expected,
ExecutionState actual)
Creates a new IllegalExecutionStateException with the error message indicating
the expected and actual state.
|
IllegalExecutionStateException(ExecutionState expected,
ExecutionState actual)
Creates a new IllegalExecutionStateException with the error message indicating
the expected and actual state.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalExecutionStateException(ExecutionState expected, ExecutionState actual)
expected
- The expected stateactual
- The actual statepublic IllegalExecutionStateException(Execution execution, ExecutionState expected, ExecutionState actual)
expected
- The expected stateactual
- The actual stateCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.