Class WrongExecutionManagerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.aristaflow.adept2.model.execution.WrongExecutionManagerException
- All Implemented Interfaces:
Serializable
A
WrongExecutionManagerException indicates that the wrong
execution manager has been called. The called execution manager does not
manage the designated activity.- Author:
- Ulrich Kreher
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected URI[]The communication protocol depended URIs assigned to the execution manager that is actually called.protected URI[]The communication protocol depended URIs of the execution manager that is expected by the caller of anActivityStarting- orActivityTermination-method. -
Constructor Summary
ConstructorsConstructorDescriptionWrongExecutionManagerException(URI[] expectedExecutionManager, URI[] actualExecutionManager) Constructs a newWrongExecutionManagerExceptionto indicate that the called execution manager does not manage the designated activity. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
expectedExecutionManager
The communication protocol depended URIs of the execution manager that is expected by the caller of anActivityStarting- orActivityTermination-method.- See Also:
-
actualExecutionManager
The communication protocol depended URIs assigned to the execution manager that is actually called.
-
-
Constructor Details
-
WrongExecutionManagerException
Constructs a newWrongExecutionManagerExceptionto indicate that the called execution manager does not manage the designated activity.- Parameters:
expectedExecutionManager- The communication protocol depended URIs of that execution manager which is expected by the caller of anActivityExecution-method.actualExecutionManager- The communication protocol depended URIs of that execution manager which is actually called.
-
-
Method Details
-
getExpectedExecutionManager
Gets the communication protocol depended URIs assigned to that execution manager which the client expected.- Returns:
- The expected execution manager identified by its assigned URIs.
-
getActualExecutionManager
Gets the communication protocol depended URIs assigned to that execution manager which received the request.- Returns:
- The actual execution manager identified by its assigned URIs.
-