Here you can find the source of getCriticalExceptionCount()
public static int getCriticalExceptionCount()
//package com.java2s; //License from project: Apache License import java.util.concurrent.atomic.AtomicInteger; public class Main { private static AtomicInteger criticalCount = new AtomicInteger(); public static int getCriticalExceptionCount() { int ret = criticalCount.get(); return ret; }//from w w w . j av a 2 s .c o m }