webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
org.appspot.apprtc.UnhandledExceptionHandler Class Reference
Inheritance diagram for org.appspot.apprtc.UnhandledExceptionHandler:

Public Member Functions

 UnhandledExceptionHandler (final Activity activity)
 
void uncaughtException (Thread unusedThread, final Throwable e)
 

Detailed Description

Singleton helper: install a default unhandled exception handler which shows an informative dialog and kills the app. Useful for apps whose error-handling consists of throwing RuntimeExceptions. NOTE: almost always more useful to Thread.setDefaultUncaughtExceptionHandler() rather than Thread.setUncaughtExceptionHandler(), to apply to background threads as well.

Constructor & Destructor Documentation

◆ UnhandledExceptionHandler()

org.appspot.apprtc.UnhandledExceptionHandler.UnhandledExceptionHandler ( final Activity  activity)
inline

Member Function Documentation

◆ uncaughtException()

void org.appspot.apprtc.UnhandledExceptionHandler.uncaughtException ( Thread  unusedThread,
final Throwable  e 
)
inline

The documentation for this class was generated from the following file: