Class RunnerThreadGroup
java.lang.Object
java.lang.ThreadGroup
com.carrotsearch.randomizedtesting.RunnerThreadGroup
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
A
ThreadGroup
under which all tests (and hooks) are executed. Theoretically, there
should be no thread outside of this group's control.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
uncaughtException
(Thread t, Throwable e) Capture all uncaught exceptions from this group's threads.Methods inherited from class java.lang.ThreadGroup
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString
-
Constructor Details
-
RunnerThreadGroup
RunnerThreadGroup(String name)
-
-
Method Details
-
uncaughtException
Capture all uncaught exceptions from this group's threads.- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
- Overrides:
uncaughtException
in classThreadGroup
-