public interface PluginObservationExceptionHandler
It provides a channel for notifying runtime exceptions that may occur during operations
carried out by the monitoring thread(s).
These exceptions can be thrown either in the internal monitoring layers of the readers or in the
application itself (within the update methods when notifying plugin observers for example).
Modifier and Type | Method and Description |
---|---|
void |
onPluginObservationError(java.lang.String pluginName,
java.lang.Throwable e)
This method is invoked when a runtime exception occurs in the observed plugin.
|
void onPluginObservationError(java.lang.String pluginName, java.lang.Throwable e)
pluginName
- A not empty String containing the name of the plugin in which the exception
was raised.e
- A reference to the RuntimeException