Class WrongExecutionManagerException

  • All Implemented Interfaces:
    Serializable

    public class WrongExecutionManagerException
    extends RuntimeException
    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:
    Serialized Form
    • Field Detail

      • expectedExecutionManager

        protected URI[] expectedExecutionManager
        The communication protocol depended URIs of the execution manager that is expected by the caller of an ActivityStarting- or ActivityTermination-method.
        See Also:
        ActivityStarting, ActivityTermination
      • actualExecutionManager

        protected URI[] actualExecutionManager
        The communication protocol depended URIs assigned to the execution manager that is actually called.
    • Constructor Detail

      • WrongExecutionManagerException

        public WrongExecutionManagerException​(URI[] expectedExecutionManager,
                                              URI[] actualExecutionManager)
        Constructs a new WrongExecutionManagerException to 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 an ActivityExecution-method.
        actualExecutionManager - The communication protocol depended URIs of that execution manager which is actually called.
    • Method Detail

      • getExpectedExecutionManager

        public URI[] 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

        public URI[] 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.