public class WrongRuntimeManagerException
extends java.lang.Exception
WrongRuntimeManagerException indicates that the wrong
runtime manager has been called. The called runtime manager does start the
activity but does not execute it.| Modifier and Type | Field and Description |
|---|---|
protected EBPInstanceReference |
ebp
A reference to the executable business process that has been started on
another runtime manager.
|
protected java.net.URI[] |
expectedRuntimeManager
The communication protocol depended URIs of the runtime manager that is
expected by the caller of an
SynchronousActivityStarting-method. |
| Constructor and Description |
|---|
WrongRuntimeManagerException(java.net.URI[] expectedRuntimeManager,
EBPInstanceReference ebp)
Constructs a new
WrongRuntimeManagerException to indicate
that the called runtime manager does not execute the designated activity. |
| Modifier and Type | Method and Description |
|---|---|
EBPInstanceReference |
getEBPInstanceReference()
Gets the reference to the executable business process that has been started
on another runtime manager.
|
java.net.URI[] |
getExpectedRuntimeManager()
Gets the communication protocol depended URIs assigned to that runtime
manager which the caller expected.
|
protected final java.net.URI[] expectedRuntimeManager
SynchronousActivityStarting-method.de.aristaflow.adept2.core.runtimemanager.SynchronousActivityStartingprotected final EBPInstanceReference ebp
public WrongRuntimeManagerException(java.net.URI[] expectedRuntimeManager,
EBPInstanceReference ebp)
WrongRuntimeManagerException to indicate
that the called runtime manager does not execute the designated activity.expectedRuntimeManager - The communication protocol depended URIs of
that runtime manager which is expected by the caller of an
SynchronousActivityExecution-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.public java.net.URI[] getExpectedRuntimeManager()
public EBPInstanceReference getEBPInstanceReference()