Android Reference
Thread.UncaughtExceptionHandler
java.lang
Interface Thread.UncaughtExceptionHandler
-
- All Known Implementing Classes:
- ThreadGroup
- Enclosing class:
- Thread
public static interface 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.
-
-
Method Detail
-
uncaughtException
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 exceptionex
- the exception that was thrown
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 634 / 158801930. Delta: 0.02921 с