Searched refs:UncaughtExceptionHandler (Results 1 – 14 of 14) sorted by relevance
19 import java.lang.Thread.UncaughtExceptionHandler;140 UncaughtExceptionHandler initialHandler = Mockito.mock(UncaughtExceptionHandler.class); in testUncaughtExceptionPreHandler_calledBeforeDefaultHandler()141 UncaughtExceptionHandler defaultHandler = Mockito.mock(UncaughtExceptionHandler.class); in testUncaughtExceptionPreHandler_calledBeforeDefaultHandler()144 UncaughtExceptionHandler originalDefaultHandler in testUncaughtExceptionPreHandler_calledBeforeDefaultHandler()162 UncaughtExceptionHandler initialHandler = Mockito.mock(UncaughtExceptionHandler.class); in testUncaughtExceptionPreHandler_noDefaultHandler()163 UncaughtExceptionHandler originalDefaultHandler in testUncaughtExceptionPreHandler_noDefaultHandler()
27 public class OldThreadGroupTest extends TestCase implements Thread.UncaughtExceptionHandler {
1812 public interface UncaughtExceptionHandler { interface in Thread1825 private volatile UncaughtExceptionHandler uncaughtExceptionHandler;1828 private static volatile UncaughtExceptionHandler defaultUncaughtExceptionHandler;1864 public static void setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setDefaultUncaughtExceptionHandler()1876 public static UncaughtExceptionHandler getDefaultUncaughtExceptionHandler(){ in getDefaultUncaughtExceptionHandler()1882 private static volatile UncaughtExceptionHandler uncaughtExceptionPreHandler;1893 public static void setUncaughtExceptionPreHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionPreHandler()1898 public static UncaughtExceptionHandler getUncaughtExceptionPreHandler() { in getUncaughtExceptionPreHandler()1911 public UncaughtExceptionHandler getUncaughtExceptionHandler() { in getUncaughtExceptionHandler()1931 public void setUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionHandler()[all …]
58 class ThreadGroup implements Thread.UncaughtExceptionHandler {1065 Thread.UncaughtExceptionHandler ueh = in uncaughtException()
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()
237 public void setUncaughtExceptionHandler(UncaughtExceptionHandler x) { } in setUncaughtExceptionHandler()
38 import java.lang.Thread.UncaughtExceptionHandler;1497 final UncaughtExceptionHandler ueh; // per-worker UEH1586 UncaughtExceptionHandler handler; in registerWorker()2665 UncaughtExceptionHandler handler, in ForkJoinPool()2695 UncaughtExceptionHandler handler, in ForkJoinPool()2869 public UncaughtExceptionHandler getUncaughtExceptionHandler() { in getUncaughtExceptionHandler()3513 UncaughtExceptionHandler handler = null; in makeCommonPool()3527 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 {
403 Thread.UncaughtExceptionHandler h = Thread.getDefaultUncaughtExceptionHandler(); in finalizerTimedOut()
442 Thread.UncaughtExceptionHandler handler = (t, e) -> exceptions.add(e); in testSetDefaultRace()
28 import java.lang.Thread.UncaughtExceptionHandler;656 private static final class TestUncaughtExceptionHandler implements UncaughtExceptionHandler {666 final UncaughtExceptionHandler original = self.getUncaughtExceptionHandler(); in test_SSLSocket_HandshakeCompletedListener_RuntimeException()