Class WrongRuntimeManagerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.aristaflow.adept2.model.runtimeenvironment.WrongRuntimeManagerException
-
- All Implemented Interfaces:
Serializable
public class WrongRuntimeManagerException extends Exception
AWrongRuntimeManagerException
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected EBPInstanceReference
ebp
A reference to the executable business process that has been started on another runtime manager.protected URI[]
expectedRuntimeManager
The communication protocol depended URIs of the runtime manager that is expected by the caller of anSynchronousActivityStarting
-method.
-
Constructor Summary
Constructors Constructor Description WrongRuntimeManagerException(URI[] expectedRuntimeManager, EBPInstanceReference ebp)
Constructs a newWrongRuntimeManagerException
to indicate that the called runtime manager does not execute the designated activity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EBPInstanceReference
getEBPInstanceReference()
Gets the reference to the executable business process that has been started on another runtime manager.URI[]
getExpectedRuntimeManager()
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 Detail
-
expectedRuntimeManager
protected final URI[] expectedRuntimeManager
The communication protocol depended URIs of the runtime manager that is expected by the caller of anSynchronousActivityStarting
-method.- See Also:
SynchronousActivityStarting
-
ebp
protected final EBPInstanceReference 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 Detail
-
WrongRuntimeManagerException
public WrongRuntimeManagerException(URI[] expectedRuntimeManager, EBPInstanceReference ebp)
Constructs a newWrongRuntimeManagerException
to 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 Detail
-
getExpectedRuntimeManager
public URI[] 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
public EBPInstanceReference 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.
-
-