JSecurity

org.jsecurity
Class JSecurityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jsecurity.JSecurityException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthenticationException, AuthorizationException, CacheException, CodecException, ConfigurationException, InstantiationException, InvalidPermissionStringException, ResourceException, SerializationException, SessionException, SubjectException, UnavailableConstructorException, UnknownClassException

public class JSecurityException
extends RuntimeException
implements Serializable

Root exception for all JSecurity runtime exceptions. This class is used as the root instead of SecurityException to remove the potential for conflicts; many other frameworks and products (such as J2EE containers) perform special operations when encountering SecurityException.

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

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

JSecurityException

public JSecurityException()
Creates a new JSecurityException.


JSecurityException

public JSecurityException(String message)
Constructs a new JSecurityException.

Parameters:
message - the reason for the exception

JSecurityException

public JSecurityException(Throwable cause)
Constructs a new JSecurityException.

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

JSecurityException

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

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

JSecurity

Copyright © 2004-2008 JSecurity.