org.aopalliance.aop
Class AspectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.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

Overrides:
getCause in class java.lang.Throwable
Returns:
Throwable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream out)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter out)
Overrides:
printStackTrace in class java.lang.Throwable