Package org.aspectj.lang
Klasse SoftException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.aspectj.lang.SoftException
- Alle implementierten Schnittstellen:
Serializable
Wrapper for checked exceptions matched by a 'declare soft'.
You can soften checked exceptions at join points by using
the form
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()
.- Siehe auch:
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetCause()
void
void
printStackTrace
(PrintStream stream) void
printStackTrace
(PrintWriter stream) Von Klasse geerbte Methoden java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Konstruktordetails
-
SoftException
-
-
Methodendetails
-
getWrappedThrowable
-
getCause
-
printStackTrace
public void printStackTrace()- Setzt außer Kraft:
printStackTrace
in KlasseThrowable
-
printStackTrace
- Setzt außer Kraft:
printStackTrace
in KlasseThrowable
-
printStackTrace
- Setzt außer Kraft:
printStackTrace
in KlasseThrowable
-