org.aopalliance.aop
Class AspectException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.aopalliance.aop.AspectException
All Implemented Interfaces:
java.io.Serializable

public class AspectException
extends java.lang.RuntimeException

Superclass for all AOP infrastructure exceptions. Unchecked, as such exceptions are fatal and end user code shouldn't be forced to catch them.

Author:
Rod Johnson, Bob Lee
See Also:
Serialized Form

Constructor Summary
AspectException(java.lang.String s)
          Constructor for AspectException.
AspectException(java.lang.String s, java.lang.Throwable t)
          Constructor for AspectException.
 
Method Summary
 java.lang.Throwable getCause()
          Return the root cause of this exception.
 java.lang.String getMessage()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream out)
           
 void printStackTrace(java.io.PrintWriter out)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AspectException

public AspectException(java.lang.String s)
Constructor for AspectException.

Parameters:
s -

AspectException

public AspectException(java.lang.String s,
                       java.lang.Throwable t)
Constructor for AspectException.

Parameters:
s -
t -
Method Detail

getCause

public java.lang.Throwable getCause()
Return the root cause of this exception. May be null

Returns:
Throwable

toString

public java.lang.String toString()

getMessage

public java.lang.String getMessage()

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(java.io.PrintStream out)

printStackTrace

public void printStackTrace(java.io.PrintWriter out)