Class InvalidSessionException
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
StoppedSessionException,UnknownSessionException
Exception thrown when attempting to interact with the system under an established session
when that session is considered invalid. The meaning of the term 'invalid' is based on
application behavior. For example, a Session is considered invalid if it has been explicitly
stopped (e.g. when a user logs-out or when explicitly
stopped programmatically. A Session can also be
considered invalid if it has expired.- Since:
- 0.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new InvalidSessionException.InvalidSessionException(String message) Constructs a new InvalidSessionException.InvalidSessionException(String message, Throwable cause) Constructs a new InvalidSessionException.InvalidSessionException(Throwable cause) Constructs a new InvalidSessionException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidSessionException
public InvalidSessionException()Creates a new InvalidSessionException. -
InvalidSessionException
Constructs a new InvalidSessionException.- Parameters:
message- the reason for the exception
-
InvalidSessionException
Constructs a new InvalidSessionException.- Parameters:
cause- the underlying Throwable that caused this exception to be thrown.
-
InvalidSessionException
Constructs a new InvalidSessionException.- Parameters:
message- the reason for the exceptioncause- the underlying Throwable that caused this exception to be thrown.
-