Interface PluginObservationExceptionHandlerSpi


  • public interface PluginObservationExceptionHandlerSpi
    Plugin observation error handler to be notified of exceptions that may occur during operations carried out by the monitoring processes.

    These exceptions can be thrown either in the internal monitoring layers of the readers or in the application itself.

    Since:
    2.0.0
    • Method Detail

      • onPluginObservationError

        void onPluginObservationError​(java.lang.String pluginName,
                                      java.lang.Throwable e)
        Invoked when a runtime exception occurs in the observed plugin.
        Parameters:
        pluginName - The plugin name
        e - The original exception
        Since:
        2.0.0