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 Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when a runtime exception occurs in the observed plugin.
  • Method Details

    • onPluginObservationError

      void onPluginObservationError(String pluginName, 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