Class ExpiredSessionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.shiro.lang.ShiroException
org.apache.shiro.session.SessionException
org.apache.shiro.session.InvalidSessionException
org.apache.shiro.session.StoppedSessionException
org.apache.shiro.session.ExpiredSessionException
- All Implemented Interfaces:
Serializable
A special case of a StoppedSessionException. An expired session is a session that has
stopped explicitly due to inactivity (i.e. time-out), as opposed to stopping due to log-out or
other reason.
- Since:
- 0.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ExpiredSessionException.ExpiredSessionException(String message) Constructs a new ExpiredSessionException.ExpiredSessionException(String message, Throwable cause) Constructs a new ExpiredSessionException.ExpiredSessionException(Throwable cause) Constructs a new ExpiredSessionException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExpiredSessionException
public ExpiredSessionException()Creates a new ExpiredSessionException. -
ExpiredSessionException
Constructs a new ExpiredSessionException.- Parameters:
message- the reason for the exception
-
ExpiredSessionException
Constructs a new ExpiredSessionException.- Parameters:
cause- the underlying Throwable that caused this exception to be thrown.
-
ExpiredSessionException
Constructs a new ExpiredSessionException.- Parameters:
message- the reason for the exceptioncause- the underlying Throwable that caused this exception to be thrown.
-