Example #1
0
        // public static TheDarkOwlLogger.TheDarkOwlLogger Bugger = new TheDarkOwlLogger.TheDarkOwlLogger(false, true, true, "WhiteTiger");
        public static void errorreport(Exception e)
        {
            NoNullAllowedException nonullallowedext = new NoNullAllowedException();

            System.Data.RowNotInTableException exrownotinTable = new RowNotInTableException();
            System.ArgumentOutOfRangeException excarg          = new ArgumentOutOfRangeException();
            System.IO.FileNotFoundException    filenotfound    = new FileNotFoundException();
            System.Xml.XmlException            xmlexc          = new XmlException();
            if ((e.GetType() != nonullallowedext.GetType()) && (e.GetType() != exrownotinTable.GetType()) &&
                (e.GetType() != excarg.GetType()) && (e.GetType() != filenotfound.GetType()) &&
                (e.GetType() != xmlexc.GetType()))
            {
                logman.TraceException(e.Message, e);
            }
        }