Package org.apache.shiro.session
Class UnknownSessionException
- 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.UnknownSessionException
-
- All Implemented Interfaces:
Serializable
public class UnknownSessionException extends InvalidSessionException
Exception thrown when attempting to interact with the system under the pretense of a particular session (e.g. under a specific session id), and that session does not exist in the system.- Since:
- 0.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownSessionException()
Creates a new UnknownSessionException.UnknownSessionException(String message)
Constructs a new UnknownSessionException.UnknownSessionException(String message, Throwable cause)
Constructs a new UnknownSessionException.UnknownSessionException(Throwable cause)
Constructs a new UnknownSessionException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnknownSessionException
public UnknownSessionException()
Creates a new UnknownSessionException.
-
UnknownSessionException
public UnknownSessionException(String message)
Constructs a new UnknownSessionException.- Parameters:
message
- the reason for the exception
-
UnknownSessionException
public UnknownSessionException(Throwable cause)
Constructs a new UnknownSessionException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
-