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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownSessionException(String sessionId)
Create an exception with the session id that does not correspond to a valid session.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSessionId()
This method returns the session id that has not correspond to a valid session.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnknownSessionException
public UnknownSessionException(String sessionId)
Create an exception with the session id that does not correspond to a valid session.- Parameters:
sessionId
- The requested session id.
-
-
Method Detail
-
getSessionId
public String getSessionId()
This method returns the session id that has not correspond to a valid session.- Returns:
- The requested session id, may be null.
-
-