org.apache.shiro.session
Class ExpiredSessionException

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
                              extended by org.apache.shiro.session.ExpiredSessionException
All Implemented Interfaces:
Serializable

public class ExpiredSessionException
extends StoppedSessionException

A special case of a StoppedSessionException. An expired session is a session that has stopped explicitly due to inactivity (i.e. time-out), as opposed to stopping due to log-out or other reason.

Since:
0.1
See Also:
Serialized Form

Constructor Summary
ExpiredSessionException()
          Creates a new ExpiredSessionException.
ExpiredSessionException(String message)
          Constructs a new ExpiredSessionException.
ExpiredSessionException(String message, Throwable cause)
          Constructs a new ExpiredSessionException.
ExpiredSessionException(Throwable cause)
          Constructs a new ExpiredSessionException.
 
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

ExpiredSessionException

public ExpiredSessionException()
Creates a new ExpiredSessionException.


ExpiredSessionException

public ExpiredSessionException(String message)
Constructs a new ExpiredSessionException.

Parameters:
message - the reason for the exception

ExpiredSessionException

public ExpiredSessionException(Throwable cause)
Constructs a new ExpiredSessionException.

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

ExpiredSessionException

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

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.