org.aopalliance.aop
Class AspectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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. |
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 |
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
-
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)