public class SoftException
extends java.lang.RuntimeException
declare soft: TypePattern: Pointcut.
At the join points, any exceptions thrown which match
TypePattern will be wrapped in SoftException
and rethrown. You can get the original exception using
getWrappedThrowable() or
getCause().| Constructor and Description |
|---|
SoftException(java.lang.Throwable inner) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause() |
java.lang.Throwable |
getWrappedThrowable() |
void |
printStackTrace() |
void |
printStackTrace(java.io.PrintStream stream) |
void |
printStackTrace(java.io.PrintWriter stream) |
public java.lang.Throwable getWrappedThrowable()
public java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream stream)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter stream)
printStackTrace in class java.lang.Throwable