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 TypeMethodDescriptionvoiduncaughtException(Thread t, Throwable e) Capture all uncaught exceptions from this group's threads.Methods inherited from class 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:
uncaughtExceptionin interfaceThread.UncaughtExceptionHandler- Overrides:
uncaughtExceptionin classThreadGroup
-