org.apache.shiro.session
Class SessionException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DisabledSessionException, InvalidSessionException

public class SessionException
extends ShiroException

General security exception attributed to problems during interaction with the system during a session.

Since:
0.1
See Also:
Serialized Form

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


SessionException

public SessionException(String message)
Constructs a new SessionException.

Parameters:
message - the reason for the exception

SessionException

public SessionException(Throwable cause)
Constructs a new SessionException.

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

SessionException

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

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.