Class RunnerThreadGroup
- java.lang.Object
-
- java.lang.ThreadGroup
-
- com.carrotsearch.randomizedtesting.RunnerThreadGroup
-
- All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler
final class RunnerThreadGroup extends java.lang.ThreadGroup
AThreadGroup
under which all tests (and hooks) are executed. Theoretically, there should be no thread outside of this group's control.
-
-
Constructor Summary
Constructors Constructor Description RunnerThreadGroup(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
uncaughtException(java.lang.Thread t, java.lang.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
-
-
-
-
Method Detail
-
uncaughtException
public void uncaughtException(java.lang.Thread t, java.lang.Throwable e)
Capture all uncaught exceptions from this group's threads.- Specified by:
uncaughtException
in interfacejava.lang.Thread.UncaughtExceptionHandler
- Overrides:
uncaughtException
in classjava.lang.ThreadGroup
-
-