private static boolean hasThrownInitializerError(ExecutionResult execResult){
  for (  Throwable t : execResult.getAllThrownExceptions()) {
    if (t instanceof ExceptionInInitializerError) {
      return true;
    }
  }
  return false;
}

private static boolean hasThrownInitializerError ( ExecutionResult execResult ) { for ( Throwable t : execResult . getAllThrownExceptions ( ) ) { if ( t instanceof ExceptionInInitializerError ) { return true ; } } return false ; }
returns true iif the test case execution has thrown an instance of exceptionininitializererror
