org.simpleframework.http.session
Class SessionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.simpleframework.util.FormatException
              extended by org.simpleframework.util.lease.LeaseException
                  extended by org.simpleframework.http.session.SessionException
All Implemented Interfaces:
java.io.Serializable

public class SessionException
extends LeaseException

The SessionException is used to indicate that some operation failed when trying to access a session or when trying to perform some operation on an existing session. Typically this is thrown when a session no longer exists.

Author:
Niall Gallagher
See Also:
Serialized Form

Constructor Summary
SessionException(java.lang.String template, java.lang.Object... list)
          This constructor is used if there is a description of the event that caused the exception required.
 
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

SessionException

public SessionException(java.lang.String template,
                        java.lang.Object... list)
This constructor is used if there is a description of the event that caused the exception required. This can be given a message used to describe the situation for the exception.

Parameters:
template - this is a description of the exception
list - this is the list of arguments that can be used