Home
last modified time | relevance | path

Searched refs:UncaughtExceptionHandler (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java140 public static void setDefaultUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler eh)… in setDefaultUncaughtExceptionHandler()
142 public static java.lang.Thread.UncaughtExceptionHandler getDefaultUncaughtExceptionHandler() { thro… in getDefaultUncaughtExceptionHandler()
145 public static void setUncaughtExceptionPreHandler(UncaughtExceptionHandler eh) { throw new RuntimeE… in setUncaughtExceptionPreHandler()
148 public static UncaughtExceptionHandler getUncaughtExceptionPreHandler() { throw new RuntimeExceptio… in getUncaughtExceptionPreHandler()
150 public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler() { throw new RuntimeE… in getUncaughtExceptionHandler()
152 public void setUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler eh) { throw new R… in setUncaughtExceptionHandler()
171 public static interface UncaughtExceptionHandler { interface in Thread
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThread.java283 java.lang.Thread.UncaughtExceptionHandler eh) { in setDefaultUncaughtExceptionHandler()
287 public static java.lang.Thread.UncaughtExceptionHandler getDefaultUncaughtExceptionHandler() { in getDefaultUncaughtExceptionHandler()
292 java.lang.Thread.UncaughtExceptionHandler eh) { in setUncaughtExceptionPreHandler()
297 public static java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionPreHandler() { in getUncaughtExceptionPreHandler()
301 public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler() { in getUncaughtExceptionHandler()
305 public void setUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler eh) { in setUncaughtExceptionHandler()
376 private static volatile java.lang.Thread.UncaughtExceptionHandler
444 private volatile java.lang.Thread.UncaughtExceptionHandler uncaughtExceptionHandler;
447 private static volatile java.lang.Thread.UncaughtExceptionHandler uncaughtExceptionPreHandler;
500 public static interface UncaughtExceptionHandler { interface in Thread
DThreadGroup.java32 public class ThreadGroup implements java.lang.Thread.UncaughtExceptionHandler {
/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java23 import java.lang.Thread.UncaughtExceptionHandler;
227 UncaughtExceptionHandler initialHandler = Mockito.mock(UncaughtExceptionHandler.class); in testUncaughtExceptionPreHandler_calledBeforeDefaultHandler()
228 UncaughtExceptionHandler defaultHandler = Mockito.mock(UncaughtExceptionHandler.class); in testUncaughtExceptionPreHandler_calledBeforeDefaultHandler()
231 UncaughtExceptionHandler originalDefaultHandler in testUncaughtExceptionPreHandler_calledBeforeDefaultHandler()
249 UncaughtExceptionHandler initialHandler = Mockito.mock(UncaughtExceptionHandler.class); in testUncaughtExceptionPreHandler_noDefaultHandler()
250 UncaughtExceptionHandler originalDefaultHandler in testUncaughtExceptionPreHandler_noDefaultHandler()
DOldThreadGroupTest.java27 public class OldThreadGroupTest extends TestCase implements Thread.UncaughtExceptionHandler {
/libcore/ojluni/src/main/java/java/lang/
DThread.java2048 public interface UncaughtExceptionHandler { interface in Thread
2061 private volatile UncaughtExceptionHandler uncaughtExceptionHandler;
2064 private static volatile UncaughtExceptionHandler defaultUncaughtExceptionHandler;
2100 public static void setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setDefaultUncaughtExceptionHandler()
2122 public static UncaughtExceptionHandler getDefaultUncaughtExceptionHandler(){ in getDefaultUncaughtExceptionHandler()
2129 private static volatile UncaughtExceptionHandler uncaughtExceptionPreHandler;
2141 public static void setUncaughtExceptionPreHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionPreHandler()
2146 public static UncaughtExceptionHandler getUncaughtExceptionPreHandler() { in getUncaughtExceptionPreHandler()
2160 public UncaughtExceptionHandler getUncaughtExceptionHandler() { in getUncaughtExceptionHandler()
2180 public void setUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionHandler()
[all …]
DThreadGroup.java58 class ThreadGroup implements Thread.UncaughtExceptionHandler {
1070 Thread.UncaughtExceptionHandler ueh = in uncaughtException()
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadTest.java25 static class MyHandler implements Thread.UncaughtExceptionHandler {
62 Thread.UncaughtExceptionHandler defaultHandler in testGetAndSetDefaultUncaughtExceptionHandler()
DForkJoinPoolTest.java64 static class MyHandler implements Thread.UncaughtExceptionHandler {
279 final Thread.UncaughtExceptionHandler ueh = in testSetUncaughtExceptionHandler()
280 new Thread.UncaughtExceptionHandler() { in testSetUncaughtExceptionHandler()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java134 …ncaughtExceptionHandler(@libcore.util.Nullable java.lang.Thread.UncaughtExceptionHandler eh) { thr… in setDefaultUncaughtExceptionHandler()
136 @libcore.util.Nullable public static java.lang.Thread.UncaughtExceptionHandler getDefaultUncaughtEx… in getDefaultUncaughtExceptionHandler()
138 @libcore.util.Nullable public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler… in getUncaughtExceptionHandler()
140 …ncaughtExceptionHandler(@libcore.util.Nullable java.lang.Thread.UncaughtExceptionHandler eh) { thr… in setUncaughtExceptionHandler()
159 public static interface UncaughtExceptionHandler { interface in Thread
/libcore/dalvik/src/main/java/dalvik/system/
DRuntimeHooks.java86 Thread.UncaughtExceptionHandler uncaughtExceptionHandler) { in setUncaughtExceptionPreHandler()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinWorkerThread.java237 public void setUncaughtExceptionHandler(UncaughtExceptionHandler x) { } in setUncaughtExceptionHandler()
DForkJoinPool.java38 import java.lang.Thread.UncaughtExceptionHandler;
1500 final UncaughtExceptionHandler ueh; // per-worker UEH
1589 UncaughtExceptionHandler handler; in registerWorker()
2668 UncaughtExceptionHandler handler, in ForkJoinPool()
2698 UncaughtExceptionHandler handler, in ForkJoinPool()
2872 public UncaughtExceptionHandler getUncaughtExceptionHandler() { in getUncaughtExceptionHandler()
3516 UncaughtExceptionHandler handler = null; in makeCommonPool()
3530 handler = ((UncaughtExceptionHandler)ClassLoader. in makeCommonPool()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java20 import java.lang.Thread.UncaughtExceptionHandler;
972 Thread.currentThread().setUncaughtExceptionHandler(new UncaughtExceptionHandler() { in testThrowingTaskKillsTimerThread()
1134 private static class SwallowUncaughtExceptionHandler implements UncaughtExceptionHandler {
1149 UncaughtExceptionHandler excHandler = Thread.getDefaultUncaughtExceptionHandler(); in testTimerCancelledAfterException()
1206 UncaughtExceptionHandler excHandler = Thread.getDefaultUncaughtExceptionHandler(); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java20 import java.lang.Thread.UncaughtExceptionHandler;
912 class Handler implements UncaughtExceptionHandler { in test_get_setDefaultUncaughtExceptionHandler()
965 class Handler implements UncaughtExceptionHandler { in test_get_setUncaughtExceptionHandler()
DThreadGroupTest.java27 private Thread.UncaughtExceptionHandler originalThreadDefaultUncaughtExceptionHandler;
772 implements Thread.UncaughtExceptionHandler {
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt601 …ethod public static void setUncaughtExceptionPreHandler(java.lang.Thread.UncaughtExceptionHandler);
758 method public static java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionPreHandler();
759 …ethod public static void setUncaughtExceptionPreHandler(java.lang.Thread.UncaughtExceptionHandler);