com.interface21.web.servlet.mvc
Class SessionRequiredException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.servlet.ServletException
                    |
                    +--com.interface21.web.servlet.mvc.SessionRequiredException
All Implemented Interfaces:
java.io.Serializable

public class SessionRequiredException
extends javax.servlet.ServletException

Exception thrown when a Controller requires a session for the current method. This exception is normally raised by framework code, but may sometimes be handled by application code.

Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
SessionRequiredException(java.lang.String mesg)
          Constructor for SessionRequiredException.
SessionRequiredException(java.lang.String mesg, java.lang.Throwable t)
          Constructor for SessionRequiredException.
 
Methods inherited from class javax.servlet.ServletException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionRequiredException

public SessionRequiredException(java.lang.String mesg)
Constructor for SessionRequiredException.
Parameters:
mesg - message

SessionRequiredException

public SessionRequiredException(java.lang.String mesg,
                                java.lang.Throwable t)
Constructor for SessionRequiredException.
Parameters:
mesg - message
t - root cause


Rod Johnson and Spring contributors 2001-2003.