Package com.yahoo.jrt

Interface FatalErrorHandler


  • public interface FatalErrorHandler
    Interface used to report fatal errors (internal thread unwinding). If the application wants to be notified of these errors, it must register a handler with the Transport constructor.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void handleFailure​(java.lang.Throwable problem, java.lang.Object context)
      Invoked when an internal thread crashes due to thread unwinding.
    • Method Detail

      • handleFailure

        void handleFailure​(java.lang.Throwable problem,
                           java.lang.Object context)
        Invoked when an internal thread crashes due to thread unwinding.
        Parameters:
        problem - the throwable causing the problem
        context - the object owning the crashed thread