Package org.apache.shiro.session
Class ExpiredSessionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.shiro.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
public class ExpiredSessionException extends StoppedSessionException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExpiredSessionException()
Creates 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 Detail
-
ExpiredSessionException
public ExpiredSessionException()
Creates a new ExpiredSessionException.
-
ExpiredSessionException
public ExpiredSessionException(String message)
Constructs a new ExpiredSessionException.- Parameters:
message
- the reason for the exception
-
ExpiredSessionException
public ExpiredSessionException(Throwable cause)
Constructs a new ExpiredSessionException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
-