internal static void Throw(eLogicError e, string msg) { #if DEBUG Debug.WriteLine(DateTime.Now + " Logic Exception (not thrown): " + e + " : " + msg); Counts[(int)e]++; //throw new LogicException(e + " : " + msg); #else Counts[(int)e]++; #endif }
private static int[] Counts = new int[200]; //0 - 199 internal static void Throw(eLogicError e) { #if DEBUG //throw new LogicException((e).ToString()); Debugger.Break(); #else //Debug.WriteLine(DateTime.Now + " Logic Exception (not thrown): " + e); Counts[(int)e]++; #endif }