Searched refs:UncaughtExceptionHandler (Results 1 – 13 of 13) sorted by relevance
25 static class MyHandler implements Thread.UncaughtExceptionHandler {62 Thread.UncaughtExceptionHandler defaultHandler in testGetAndSetDefaultUncaughtExceptionHandler()
64 static class MyHandler implements Thread.UncaughtExceptionHandler {279 final Thread.UncaughtExceptionHandler ueh = in testSetUncaughtExceptionHandler()280 new Thread.UncaughtExceptionHandler() { in testSetUncaughtExceptionHandler()
1841 public interface UncaughtExceptionHandler { interface in Thread1854 private volatile UncaughtExceptionHandler uncaughtExceptionHandler;1857 private static volatile UncaughtExceptionHandler defaultUncaughtExceptionHandler;1893 public static void setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setDefaultUncaughtExceptionHandler()1904 public static UncaughtExceptionHandler getDefaultUncaughtExceptionHandler(){ in getDefaultUncaughtExceptionHandler()1916 public UncaughtExceptionHandler getUncaughtExceptionHandler() { in getUncaughtExceptionHandler()1936 public void setUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionHandler()
58 class ThreadGroup implements Thread.UncaughtExceptionHandler {1065 Thread.UncaughtExceptionHandler ueh = in uncaughtException()
208 public void setUncaughtExceptionHandler(UncaughtExceptionHandler x) { } in setUncaughtExceptionHandler()
9 import java.lang.Thread.UncaughtExceptionHandler;1468 final UncaughtExceptionHandler ueh; // per-worker UEH1557 UncaughtExceptionHandler handler; in registerWorker()2636 UncaughtExceptionHandler handler, in ForkJoinPool()2666 UncaughtExceptionHandler handler, in ForkJoinPool()2840 public UncaughtExceptionHandler getUncaughtExceptionHandler() { in getUncaughtExceptionHandler()3484 UncaughtExceptionHandler handler = null; in makeCommonPool()3498 handler = ((UncaughtExceptionHandler)ClassLoader. in makeCommonPool()
20 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()
20 import java.lang.Thread.UncaughtExceptionHandler;909 class Handler implements UncaughtExceptionHandler { in test_get_setDefaultUncaughtExceptionHandler()962 class Handler implements UncaughtExceptionHandler { in test_get_setUncaughtExceptionHandler()
27 private Thread.UncaughtExceptionHandler originalThreadDefaultUncaughtExceptionHandler;771 implements Thread.UncaughtExceptionHandler {
375 Thread.UncaughtExceptionHandler h = Thread.getDefaultUncaughtExceptionHandler(); in finalizerTimedOut()
27 public class OldThreadGroupTest extends TestCase implements Thread.UncaughtExceptionHandler {
406 Thread.UncaughtExceptionHandler handler = (t, e) -> exceptions.add(e); in testSetDefaultRace()
25 import java.lang.Thread.UncaughtExceptionHandler;627 private static final class TestUncaughtExceptionHandler implements UncaughtExceptionHandler {637 final UncaughtExceptionHandler original = self.getUncaughtExceptionHandler(); in test_SSLSocket_HandshakeCompletedListener_RuntimeException()