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
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 Details

    • expectedRuntimeManager

      protected final URI[] expectedRuntimeManager
      The communication protocol depended URIs of the runtime manager that is expected by the caller of an SynchronousActivityStarting-method.
      See Also:
    • 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 Details

    • WrongRuntimeManagerException

      public WrongRuntimeManagerException(URI[] expectedRuntimeManager, EBPInstanceReference ebp)
      Constructs a new WrongRuntimeManagerException 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 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.
  • Method Details

    • 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.