JSecurity

org.jsecurity.subject
Class SubjectException

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

public class SubjectException
extends JSecurityException

Throws when there is an error accessing or interacting with a Subject.

Since:
0.1
Author:
Jeremy Haile
See Also:
Serialized Form

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

SubjectException

public SubjectException()
Creates a new SubjectException.


SubjectException

public SubjectException(String message)
Constructs a new SubjectException.

Parameters:
message - the reason for the exception

SubjectException

public SubjectException(Throwable cause)
Constructs a new SubjectException.

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

SubjectException

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

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

JSecurity

Copyright © 2004-2008 JSecurity.