Documentation
Java Profiler 9.0 Help
Probes: extendable profiling and monitoring
Monitoring method invocation events
Callback method parameter annotation @ThrownException
Java Profiler 9.0 Help
Probes: extendable profiling and monitoring
Monitoring method invocation events
Callback method parameter annotation @ThrownExceptionCallback method parameter annotation @ThrownException
Callback parameter annotated with @ThrownException
allows to access uncaught exception thrown in the instrumented method.
In which callbacks can be used
Parameter annotated with @ThrownException can only be used in
onUncaughtException() or
onUncaughtExceptionExt().
Declaration type
Parameter annotated with @ThrownException must be declared as java.lang.Throwable.