Example #1
0
        internal static void Throw(eStopError e, string msg)
        {
#if DEBUG  //ThrowStopException
            Debugger.Break();
#else
            Counts[(int)e]++;
#endif
        }
Example #2
0
        internal static void Throw(eStopError e)
        {
#if DEBUG   //ThrowStopException
            throw new LogicException((e).ToString());
#else
            //Debug.WriteLine("Stop Exception (not thrown): " + e);
            Counts[(int)e]++;
#endif
        }