Class StoppedSessionException
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExpiredSessionException
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:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates 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 Details
-
StoppedSessionException
public StoppedSessionException()Creates a new StoppedSessionException. -
StoppedSessionException
Constructs a new StoppedSessionException.- Parameters:
message- the reason for the exception
-
StoppedSessionException
Constructs a new StoppedSessionException.- Parameters:
cause- the underlying Throwable that caused this exception to be thrown.
-
StoppedSessionException
Constructs a new StoppedSessionException.- Parameters:
message- the reason for the exceptioncause- the underlying Throwable that caused this exception to be thrown.
-