Class RunnerThreadGroup

  • All Implemented Interfaces:
    java.lang.Thread.UncaughtExceptionHandler

    final class RunnerThreadGroup
    extends java.lang.ThreadGroup
    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 
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RunnerThreadGroup

        RunnerThreadGroup​(java.lang.String name)
    • 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 interface java.lang.Thread.UncaughtExceptionHandler
        Overrides:
        uncaughtException in class java.lang.ThreadGroup