org.apache.shiro.session
Class StoppedSessionException

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.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
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
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

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.

StoppedSessionException

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

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.