atg.security
Class RuntimeSecurityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by atg.security.RuntimeSecurityException
All Implemented Interfaces:
java.io.Serializable

public class RuntimeSecurityException
extends java.lang.RuntimeException

A security exception that can be thrown from within a method without a "throws SecurityException" in its signature. This allows existing code to add security without requiring modifications to its APIs.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
RuntimeSecurityException(SecurityException e)
          Wraps a security exception in another exception that can be thrown from within a method without a "throws SecurityException" in its signature.
 
Method Summary
 SecurityException getSecurityException()
          Returns the security exception that caused this runtime security exception.
 
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
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

RuntimeSecurityException

public RuntimeSecurityException(SecurityException e)
Wraps a security exception in another exception that can be thrown from within a method without a "throws SecurityException" in its signature.

Method Detail

getSecurityException

public SecurityException getSecurityException()
Returns the security exception that caused this runtime security exception.