@Override
    public void uncaughtException(Thread thread, Throwable throwable) {
      if (throwable instanceof VirtualMachineError) {
        SystemFailure.setFailure((Error) throwable);
      }
      resultThrowable.set(throwable);
    }
A {@code ThreadGroup} that notices when an exception occurs during an {@code AsyncInvocation}.
geode-dunit/src/main/java/org/apache/geode/test/dunit/AsyncInvocation.java