org.apache.shiro.session
Class UnknownSessionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.shiro.ShiroException
                  extended by org.apache.shiro.session.SessionException
                      extended by org.apache.shiro.session.InvalidSessionException
                          extended by 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
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.

UnknownSessionException

public UnknownSessionException(String message,
                               Throwable cause)
Constructs a new UnknownSessionException.

Parameters:
message - the reason for the exception
cause - the underlying Throwable that caused this exception to be thrown.


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.