Package de.espirit.firstspirit.access
Class InvalidSessionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.espirit.common.UncheckedException
de.espirit.firstspirit.access.AccessRuntimeException
de.espirit.firstspirit.access.InvalidSessionException
- All Implemented Interfaces:
de.espirit.common.LocalizableError
,Serializable
Exception thrown if a invalid session is detected.
- Since:
- 2.3
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidSessionException
(String message, long sessionId) Exception thrown if a invalid session is detected. -
Method Summary
Methods inherited from class de.espirit.common.UncheckedException
constructContext, getContext, getErrorCode, getLocalizedMessage, isInfoOnly, setErrorCode, setInfo, wrapOrRethrow
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidSessionException
Exception thrown if a invalid session is detected.- Parameters:
message
- The message of the exception.sessionId
- The session id of the invalid session.- Since:
- 2.3
-
-
Method Details
-
getSessionId
public long getSessionId()Get the session id of the invalid session.- Returns:
- The session id of the invalid session.
- Since:
- 2.3
-