Home
last modified time | relevance | path

Searched refs:UncaughtExceptionHandler (Results 1 – 23 of 23) 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/src/main/java/java/lang/
DThread.java2144 public interface UncaughtExceptionHandler { interface in Thread
2157 private volatile UncaughtExceptionHandler uncaughtExceptionHandler;
2160 private static volatile UncaughtExceptionHandler defaultUncaughtExceptionHandler;
2193 public static void setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setDefaultUncaughtExceptionHandler()
2215 public static UncaughtExceptionHandler getDefaultUncaughtExceptionHandler(){ in getDefaultUncaughtExceptionHandler()
2222 private static volatile UncaughtExceptionHandler uncaughtExceptionPreHandler;
2234 public static void setUncaughtExceptionPreHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionPreHandler()
2248 public static UncaughtExceptionHandler getUncaughtExceptionPreHandler() { in getUncaughtExceptionPreHandler()
2262 public UncaughtExceptionHandler getUncaughtExceptionHandler() { in getUncaughtExceptionHandler()
2282 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.java30 import java.lang.Thread.UncaughtExceptionHandler;
252 UncaughtExceptionHandler initialHandler = Mockito.mock(UncaughtExceptionHandler.class); in uncaughtExceptionPreHandler_calledBeforeDefaultHandler()
253 UncaughtExceptionHandler defaultHandler = Mockito.mock(UncaughtExceptionHandler.class); in uncaughtExceptionPreHandler_calledBeforeDefaultHandler()
256 UncaughtExceptionHandler originalDefaultHandler in uncaughtExceptionPreHandler_calledBeforeDefaultHandler()
275 UncaughtExceptionHandler initialHandler = Mockito.mock(UncaughtExceptionHandler.class); in uncaughtExceptionPreHandler_noDefaultHandler()
276 UncaughtExceptionHandler originalDefaultHandler in uncaughtExceptionPreHandler_noDefaultHandler()
DOldThreadGroupTest.java27 public class OldThreadGroupTest extends TestCase implements Thread.UncaughtExceptionHandler {
/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.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/ojluni/src/test/java/util/concurrent/tck/
DThreadTest.java49 static class MyHandler implements Thread.UncaughtExceptionHandler {
83 Thread.UncaughtExceptionHandler defaultHandler in testGetAndSetDefaultUncaughtExceptionHandler()
DForkJoinPoolTest.java297 final Thread.UncaughtExceptionHandler ueh = in testSetUncaughtExceptionHandler()
298 new Thread.UncaughtExceptionHandler() { in testSetUncaughtExceptionHandler()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinWorkerThread.java75 UncaughtExceptionHandler handler = (this.pool = pool).ueh; in ForkJoinWorkerThread()
205 public void setUncaughtExceptionHandler(UncaughtExceptionHandler x) { } in setUncaughtExceptionHandler()
DForkJoinPool.java38 import java.lang.Thread.UncaughtExceptionHandler;
1423 final UncaughtExceptionHandler ueh; // per-worker UEH
2434 UncaughtExceptionHandler handler,
2520 UncaughtExceptionHandler handler,
2569 UncaughtExceptionHandler handler = null;
2573 handler = (UncaughtExceptionHandler) newInstanceFromSystemProperty(
2916 public UncaughtExceptionHandler getUncaughtExceptionHandler() {
DForkJoinTask.java1402 int s; Thread t; java.lang.Thread.UncaughtExceptionHandler h; in trySetException()
/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.java20 import java.lang.Thread.UncaughtExceptionHandler;
972 Thread.currentThread().setUncaughtExceptionHandler(new UncaughtExceptionHandler() { in testThrowingTaskKillsTimerThread()
1142 private static class SwallowUncaughtExceptionHandler implements UncaughtExceptionHandler {
1157 UncaughtExceptionHandler excHandler = Thread.getDefaultUncaughtExceptionHandler(); in testTimerCancelledAfterException()
1214 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.txt251 …ic static void setUncaughtExceptionPreHandler(@Nullable java.lang.Thread.UncaughtExceptionHandler);
401 method public static java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionPreHandler();
402 …ethod public static void setUncaughtExceptionPreHandler(java.lang.Thread.UncaughtExceptionHandler);
Dcurrent.txt4381 …method @Nullable public static java.lang.Thread.UncaughtExceptionHandler getDefaultUncaughtExcepti…
4388 method @Nullable public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler();
4403 …tatic void setDefaultUncaughtExceptionHandler(@Nullable java.lang.Thread.UncaughtExceptionHandler);
4406 …ethod public void setUncaughtExceptionHandler(@Nullable java.lang.Thread.UncaughtExceptionHandler);
4428 @java.lang.FunctionalInterface public static interface Thread.UncaughtExceptionHandler {
4436 public class ThreadGroup implements java.lang.Thread.UncaughtExceptionHandler {
15970 …rent.ForkJoinPool.ForkJoinWorkerThreadFactory, java.lang.Thread.UncaughtExceptionHandler, boolean);
15971 …rent.ForkJoinPool.ForkJoinWorkerThreadFactory, java.lang.Thread.UncaughtExceptionHandler, boolean,…
15988 method public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler();