org.aopalliance.aop

Class AspectException


public class AspectException
extends RuntimeException

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

Constructor Summary

AspectException(String s)
Constructor for AspectException.
AspectException(String s, Throwable t)
Constructor for AspectException.

Method Summary

Throwable
getCause()
Return the root cause of this exception.
String
getMessage()
void
printStackTrace()
void
printStackTrace(PrintStream out)
void
printStackTrace(PrintWriter out)
String
toString()

Constructor Details

AspectException

public AspectException(String s)
Constructor for AspectException.
Parameters:
s -

AspectException

public AspectException(String s,
                       Throwable t)
Constructor for AspectException.
Parameters:
s -
t -

Method Details

getCause

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

getMessage

public String getMessage()

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream out)

printStackTrace

public void printStackTrace(PrintWriter out)

toString

public String toString()