@FunctionalInterface
public interface UncaughtExceptionHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handleUncaughtException(ReflectiveCall call,
java.lang.Object[] args,
java.lang.Throwable t)
Receive any exception thrown as part of calling a DiSCo agent method.
|
static void |
install(UncaughtExceptionHandler handler)
Helper method to install an instance of an UncaughtExceptionHandler.
|
void handleUncaughtException(ReflectiveCall call, java.lang.Object[] args, java.lang.Throwable t)
call - the call which caused the errorargs - the arguments passed to the call which produced the errort - the exception/error thrown during execution of an Agent method call.static void install(UncaughtExceptionHandler handler)
handler - the handler to install, or null to clear a previously installed handler.