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
Modifier and TypeMethodDescriptionvoidhandleFailure(Throwable problem, Object context) Invoked when an internal thread crashes due to thread unwinding.
-
Method Details
-
handleFailure
Invoked when an internal thread crashes due to thread unwinding.- Parameters:
problem- the throwable causing the problemcontext- the object owning the crashed thread
-