Beispiel #1
0
        public static bool ErrorCheck(Int_Exception p)
        {
            Exception ex = p.Err;

            if (null != ex)
            {
                BaseFile.WriteLogFile(BaseFile.LOG_FILE_MODE.EXCEP, ex.TargetSite.Module.Assembly.ManifestModule.Name + "." +
                                      ex.TargetSite.DeclaringType.Name + "." + ex.TargetSite.Name + "()",
                                      "Exception." + ex.Message);
                return(true);
            }
            return(false);
        }