JSecurity

org.jsecurity.session
Class UnknownSessionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jsecurity.JSecurityException
                  extended by org.jsecurity.session.SessionException
                      extended by org.jsecurity.session.InvalidSessionException
                          extended by org.jsecurity.session.UnknownSessionException
All Implemented Interfaces:
Serializable

public class UnknownSessionException
extends InvalidSessionException

Exception thrown when attempting to interact with the system under the pretense of a particular session (e.g. under a specific session id), and that session does not exist in the system.

Since:
0.1
Author:
Les Hazlewood
See Also:
Serialized Form

Constructor Summary
UnknownSessionException()
          Creates a new UnknownSessionException.
UnknownSessionException(Serializable sessionId)
          Constructs a new UnknownSessionException.
UnknownSessionException(String message)
          Constructs a new UnknownSessionException.
UnknownSessionException(String message, Serializable sessionId)
          Constructs a new UnknownSessionException.
UnknownSessionException(String message, Throwable cause)
          Constructs a new UnknownSessionException.
UnknownSessionException(String message, Throwable cause, Serializable sessionId)
          Constructs a new UnknownSessionException.
UnknownSessionException(Throwable cause)
          Constructs a new UnknownSessionException.
 
Method Summary
 
Methods inherited from class org.jsecurity.session.SessionException
getSessionId, setSessionId
 
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

UnknownSessionException

public UnknownSessionException()
Creates a new UnknownSessionException.


UnknownSessionException

public UnknownSessionException(String message)
Constructs a new UnknownSessionException.

Parameters:
message - the reason for the exception

UnknownSessionException

public UnknownSessionException(Throwable cause)
Constructs a new UnknownSessionException.

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

UnknownSessionException

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

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

UnknownSessionException

public UnknownSessionException(Serializable sessionId)
Constructs a new UnknownSessionException.

Parameters:
sessionId - the session id given that is unknown to the system.

UnknownSessionException

public UnknownSessionException(String message,
                               Serializable sessionId)
Constructs a new UnknownSessionException.

Parameters:
message - the reason for the exception
sessionId - the session id given that is unknown to the system.

UnknownSessionException

public UnknownSessionException(String message,
                               Throwable cause,
                               Serializable sessionId)
Constructs a new UnknownSessionException.

Parameters:
message - the reason for the exception
cause - the underlying Throwable that caused this exception to be thrown.
sessionId - the session id given that is unknown to the system.

JSecurity

Copyright © 2004-2008 JSecurity.