Class WrongRuntimeManagerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.adept2.model.runtimeenvironment.WrongRuntimeManagerException
- All Implemented Interfaces:
Serializable
A
WrongRuntimeManagerException indicates that the wrong
runtime manager has been called. The called runtime manager does start the
activity but does not execute it.- Author:
- Ulrich Kreher
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final EBPInstanceReferenceA reference to the executable business process that has been started on another runtime manager.protected final URI[]The communication protocol depended URIs of the runtime manager that is expected by the caller of anSynchronousActivityStarting-method. -
Constructor Summary
ConstructorsConstructorDescriptionWrongRuntimeManagerException(URI[] expectedRuntimeManager, EBPInstanceReference ebp) Constructs a newWrongRuntimeManagerExceptionto indicate that the called runtime manager does not execute the designated activity. -
Method Summary
Modifier and TypeMethodDescriptionGets the reference to the executable business process that has been started on another runtime manager.URI[]Gets the communication protocol depended URIs assigned to that runtime manager which the caller expected.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
expectedRuntimeManager
The communication protocol depended URIs of the runtime manager that is expected by the caller of anSynchronousActivityStarting-method.- See Also:
-
ebp
A reference to the executable business process that has been started on another runtime manager. It includes the URIs of the actual runtime manager.
-
-
Constructor Details
-
WrongRuntimeManagerException
Constructs a newWrongRuntimeManagerExceptionto indicate that the called runtime manager does not execute the designated activity.- Parameters:
expectedRuntimeManager- The communication protocol depended URIs of that runtime manager which is expected by the caller of anSynchronousActivityExecution-method.ebp- A reference to the executable business process that has been started on another runtime manager. It includes the URIs of the actual runtime manager.
-
-
Method Details
-
getExpectedRuntimeManager
Gets the communication protocol depended URIs assigned to that runtime manager which the caller expected.- Returns:
- The expected runtime manager identified by its assigned URIs.
-
getEBPInstanceReference
Gets the reference to the executable business process that has been started on another runtime manager. It includes the URIs of the actual runtime manager.- Returns:
- A reference to the executable business process containing the URIs of the actual runtime manager.
-