public class SoftException extends 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(Throwable inner) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause() |
Throwable |
getWrappedThrowable() |
void |
printStackTrace() |
void |
printStackTrace(PrintStream stream) |
void |
printStackTrace(PrintWriter stream) |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic SoftException(Throwable inner)
public Throwable getWrappedThrowable()
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream stream)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter stream)
printStackTrace in class ThrowableCopyright © 2019. All rights reserved.