Home
last modified time | relevance | path

Searched refs:UncaughtExceptionHandler (Results 1 – 25 of 25) 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/ojluni/annotations/flagged_api/java/lang/
DThread.annotated.java75 public static java.lang.Thread.UncaughtExceptionHandler getDefaultUncaughtExceptionHandler() { thro… in getDefaultUncaughtExceptionHandler()
91 public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler() { throw new RuntimeE… in getUncaughtExceptionHandler()
125 public static void setDefaultUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler eh)… in setDefaultUncaughtExceptionHandler()
131 public void setUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler eh) { throw new R… in setUncaughtExceptionHandler()
172 public static interface UncaughtExceptionHandler { interface in Thread
/libcore/ojluni/src/main/java/java/lang/
DThread.java2280 public interface UncaughtExceptionHandler { interface in Thread
2293 private volatile UncaughtExceptionHandler uncaughtExceptionHandler;
2296 private static volatile UncaughtExceptionHandler defaultUncaughtExceptionHandler;
2329 public static void setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setDefaultUncaughtExceptionHandler()
2351 public static UncaughtExceptionHandler getDefaultUncaughtExceptionHandler(){ in getDefaultUncaughtExceptionHandler()
2358 private static volatile UncaughtExceptionHandler uncaughtExceptionPreHandler;
2370 public static void setUncaughtExceptionPreHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionPreHandler()
2384 public static UncaughtExceptionHandler getUncaughtExceptionPreHandler() { in getUncaughtExceptionPreHandler()
2398 public UncaughtExceptionHandler getUncaughtExceptionHandler() { in getUncaughtExceptionHandler()
2418 public void setUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionHandler()
[all …]
DThreadGroup.java58 class ThreadGroup implements Thread.UncaughtExceptionHandler {
1068 Thread.UncaughtExceptionHandler ueh = in uncaughtException()
/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java31 import java.lang.Thread.UncaughtExceptionHandler;
254 UncaughtExceptionHandler initialHandler = Mockito.mock(UncaughtExceptionHandler.class); in uncaughtExceptionPreHandler_calledBeforeDefaultHandler()
255 UncaughtExceptionHandler defaultHandler = Mockito.mock(UncaughtExceptionHandler.class); in uncaughtExceptionPreHandler_calledBeforeDefaultHandler()
258 UncaughtExceptionHandler originalDefaultHandler in uncaughtExceptionPreHandler_calledBeforeDefaultHandler()
277 UncaughtExceptionHandler initialHandler = Mockito.mock(UncaughtExceptionHandler.class); in uncaughtExceptionPreHandler_noDefaultHandler()
278 UncaughtExceptionHandler originalDefaultHandler in uncaughtExceptionPreHandler_noDefaultHandler()
DOldThreadGroupTest.java27 public class OldThreadGroupTest extends TestCase implements Thread.UncaughtExceptionHandler {
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java136 …ncaughtExceptionHandler(@libcore.util.Nullable java.lang.Thread.UncaughtExceptionHandler eh) { thr… in setDefaultUncaughtExceptionHandler()
138 @libcore.util.Nullable public static java.lang.Thread.UncaughtExceptionHandler getDefaultUncaughtEx… in getDefaultUncaughtExceptionHandler()
140 @libcore.util.Nullable public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler… in getUncaughtExceptionHandler()
142 …ncaughtExceptionHandler(@libcore.util.Nullable java.lang.Thread.UncaughtExceptionHandler eh) { thr… in setUncaughtExceptionHandler()
161 public static interface UncaughtExceptionHandler { interface in Thread
/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/src/test/java/util/concurrent/tck/
DThreadTest.java64 static class MyHandler implements Thread.UncaughtExceptionHandler {
101 Thread.UncaughtExceptionHandler defaultHandler in testGetAndSetDefaultUncaughtExceptionHandler()
DForkJoinPoolTest.java316 final Thread.UncaughtExceptionHandler ueh = in testSetUncaughtExceptionHandler()
317 new Thread.UncaughtExceptionHandler() { in testSetUncaughtExceptionHandler()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinWorkerThread.java78 UncaughtExceptionHandler handler = (this.pool = pool).ueh; in ForkJoinWorkerThread()
226 public void setUncaughtExceptionHandler(UncaughtExceptionHandler x) { } in setUncaughtExceptionHandler()
DForkJoinPool.java38 import java.lang.Thread.UncaughtExceptionHandler;
1526 final UncaughtExceptionHandler ueh; // per-worker UEH
2628 UncaughtExceptionHandler handler,
2714 UncaughtExceptionHandler handler,
2756 UncaughtExceptionHandler handler = null;
2780 handler = (UncaughtExceptionHandler)
3200 public UncaughtExceptionHandler getUncaughtExceptionHandler() {
DForkJoinTask.java1430 int s; Thread t; java.lang.Thread.UncaughtExceptionHandler h; in trySetException()
/libcore/ojluni/annotations/flagged_api/java/util/concurrent/
DForkJoinPool.annotated.java46 …kJoinPool.ForkJoinWorkerThreadFactory factory, java.lang.Thread.UncaughtExceptionHandler handler, … in ForkJoinPool()
48 …kJoinPool.ForkJoinWorkerThreadFactory factory, java.lang.Thread.UncaughtExceptionHandler handler, … in ForkJoinPool()
88 public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler() { throw new RuntimeE… in getUncaughtExceptionHandler()
/libcore/ojluni/src/test/java/util/Timer/
DKillThread.java39 private static final Thread.UncaughtExceptionHandler NO_OP_HANDLER = (t, e) -> {};
/libcore/dalvik/src/main/java/dalvik/system/
DRuntimeHooks.java101 @Nullable Thread.UncaughtExceptionHandler uncaughtExceptionHandler) { in setUncaughtExceptionPreHandler()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java27 import java.lang.Thread.UncaughtExceptionHandler;
1106 Thread.currentThread().setUncaughtExceptionHandler(new UncaughtExceptionHandler() { in testThrowingTaskKillsTimerThread()
1280 private static class SwallowUncaughtExceptionHandler implements UncaughtExceptionHandler {
1296 UncaughtExceptionHandler excHandler = Thread.getDefaultUncaughtExceptionHandler(); in testTimerCancelledAfterException()
1354 UncaughtExceptionHandler excHandler = Thread.getDefaultUncaughtExceptionHandler(); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()
/libcore/ojluni/src/main/java/jdk/internal/misc/
DInnocuousThread.java106 public void setUncaughtExceptionHandler(UncaughtExceptionHandler x) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java20 import java.lang.Thread.UncaughtExceptionHandler;
913 class Handler implements UncaughtExceptionHandler { in test_get_setDefaultUncaughtExceptionHandler()
966 class Handler implements UncaughtExceptionHandler { in test_get_setUncaughtExceptionHandler()
DThreadGroupTest.java27 private Thread.UncaughtExceptionHandler originalThreadDefaultUncaughtExceptionHandler;
772 implements Thread.UncaughtExceptionHandler {
/libcore/api/
Dmodule-lib-current.txt252 …ic static void setUncaughtExceptionPreHandler(@Nullable java.lang.Thread.UncaughtExceptionHandler);
421 method public static java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionPreHandler();
422 …ethod public static void setUncaughtExceptionPreHandler(java.lang.Thread.UncaughtExceptionHandler);
Dcurrent.txt4513 …method @Nullable public static java.lang.Thread.UncaughtExceptionHandler getDefaultUncaughtExcepti…
4520 method @Nullable public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler();
4535 …tatic void setDefaultUncaughtExceptionHandler(@Nullable java.lang.Thread.UncaughtExceptionHandler);
4538 …ethod public void setUncaughtExceptionHandler(@Nullable java.lang.Thread.UncaughtExceptionHandler);
4559 @java.lang.FunctionalInterface public static interface Thread.UncaughtExceptionHandler {
4567 public class ThreadGroup implements java.lang.Thread.UncaughtExceptionHandler {
16125 …rent.ForkJoinPool.ForkJoinWorkerThreadFactory, java.lang.Thread.UncaughtExceptionHandler, boolean);
16126 …rent.ForkJoinPool.ForkJoinWorkerThreadFactory, java.lang.Thread.UncaughtExceptionHandler, boolean,…
16145 method public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler();