public interface MethodTracer
MethodTracerFactory
can return a MethodTracer to be notified when a method invocation finishes.Modifier and Type | Method and Description |
---|---|
void |
methodFinished(java.lang.Object returnValue)
Called if a method exits successfully.
|
void |
methodFinishedWithException(java.lang.Throwable exception)
Called if a method exits because of an uncaught exception.
|
void methodFinished(java.lang.Object returnValue)
returnValue
- The return value of the method invocation, or null if the return value is void.void methodFinishedWithException(java.lang.Throwable exception)
exception
- The uncaught exception thrown during the method invocation.