Class UnknownSessionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.aristaflow.adept2.model.runtimeenvironment.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
-
-
Constructor Summary
Constructors Constructor Description UnknownSessionException(String sessionID)
Creates a new exception indicating that the designated execution session ID is not known by the requested service.UnknownSessionException(String sessionID, String msg)
Creates a new exception indicating that the designated execution session ID is not known by the requested service.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSessionID()
Gets the execution session ID that is unknown and lead to this exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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.
-
-