Class UnknownSessionException

  • All Implemented Interfaces:
    Serializable

    public class UnknownSessionException
    extends Exception
    An exception to indicate that an execution session ID is not known (any more) by a requested service. This is usually caused due to a termination of the execution by the server which is not noticed by the client. The termination may have been caused by the client not responding in time to a server request.
    Author:
    Ulrich Kreher
    See Also:
    Serialized Form
    • Field Detail

      • sessionID

        protected final String sessionID
        The execution session ID that is unknown and lead to this exception.
    • Constructor Detail

      • UnknownSessionException

        public UnknownSessionException​(String sessionID)
        Creates a new exception indicating that the designated execution session ID is not known by the requested service.
        Parameters:
        sessionID - The execution session ID that is unknown and lead to this exception.
      • UnknownSessionException

        public UnknownSessionException​(String sessionID,
                                       String msg)
        Creates a new exception indicating that the designated execution session ID is not known by the requested service.
        Parameters:
        sessionID - The execution session ID that is unknown and lead to this exception.
        msg - An arbitrary message for the exception.
    • Method Detail

      • getSessionID

        public String getSessionID()
        Gets the execution session ID that is unknown and lead to this exception.
        Returns:
        The execution session ID that is unknown and lead to this exception.