Package org.apache.shiro.session
Class StoppedSessionException
- 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
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExpiredSessionException
public class StoppedSessionException extends InvalidSessionException
Exception thrown when attempting to interact with the system under a session that has been stopped. A session may be stopped in any number of ways, most commonly due to explicit stopping (e.g. from logging out), or due to expiration.- Since:
- 0.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StoppedSessionException()
Creates a new StoppedSessionException.StoppedSessionException(String message)
Constructs a new StoppedSessionException.StoppedSessionException(String message, Throwable cause)
Constructs a new StoppedSessionException.StoppedSessionException(Throwable cause)
Constructs a new StoppedSessionException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
StoppedSessionException
public StoppedSessionException()
Creates a new StoppedSessionException.
-
StoppedSessionException
public StoppedSessionException(String message)
Constructs a new StoppedSessionException.- Parameters:
message
- the reason for the exception
-
StoppedSessionException
public StoppedSessionException(Throwable cause)
Constructs a new StoppedSessionException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
-