JSecurity

org.jsecurity.subject
Class InvalidSubjectException

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.subject.SubjectException
                      extended by org.jsecurity.subject.InvalidSubjectException
All Implemented Interfaces:
Serializable

public class InvalidSubjectException
extends SubjectException

Exception thrown when a Subject is accessed that has been invalidated. Usually this occurs when accessing a Subject whose Subject.logout() method has been called.

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

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

InvalidSubjectException

public InvalidSubjectException()
Creates a new InvalidSubjectException.


InvalidSubjectException

public InvalidSubjectException(String message)
Constructs a new InvalidSubjectException.

Parameters:
message - the reason for the exception

InvalidSubjectException

public InvalidSubjectException(Throwable cause)
Constructs a new InvalidSubjectException.

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

InvalidSubjectException

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

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

JSecurity

Copyright © 2004-2008 JSecurity.