Android
java.lang
public static interface

java.lang.Thread.UncaughtExceptionHandler

java.lang.Thread.UncaughtExceptionHandler

Implemented by objects that want to handle cases where a thread is being terminated by an uncaught exception. Upon such termination, the handler is notified of the terminating thread and causal exception. If there is no explicit handler set then the thread's group is the default handler.

Known Indirect Subclasses

Summary

Public Methods

          void  uncaughtException(Thread thread, Throwable ex)
The thread is being terminated by an uncaught exception.

Details

Public Methods

public void uncaughtException(Thread thread, Throwable ex)

The thread is being terminated by an uncaught exception. Further exceptions thrown in this method are prevent the remainder of the method from executing, but are otherwise ignored.

Parameters

thread the thread that has an uncaught exception
ex the exception that was thrown
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56