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 Detail

      • handleFailure

        void handleFailure​(Throwable problem,
                           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