Class UnknownSessionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.blueriq.component.api.exception.UnknownSessionException
- All Implemented Interfaces:
Serializable
public class UnknownSessionException
extends com.aquima.interactions.foundation.exception.AppException
Exception that is used by the session manager when a session is request with an unknown id.
- Since:
- 8.0
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownSessionException(String sessionId) Create an exception with the session id that does not correspond to a valid session. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the session id that has not correspond to a valid session.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownSessionException
Create an exception with the session id that does not correspond to a valid session.- Parameters:
sessionId- The requested session id.
-
-
Method Details
-
getSessionId
This method returns the session id that has not correspond to a valid session.- Returns:
- The requested session id, may be null.
-