Esempio n. 1
0
 private static void HandleNORMAL(ExceptionCategory category, Exception exc)
 {
     try
     {
         DataLayer.ExceptionHandling.ExceptionLogger.SaveExceptionToDB(category.ToString(), exc);
     }
     catch (Exception innerExc)
     {
         DataLayer.ExceptionHandling.ExceptionLogger.LogException(category.ToString(), exc);
         HandleException(ExceptionCategory.Fatal, innerExc);
     }
 }
Esempio n. 2
0
 private static void HandleFATAL(ExceptionCategory category, Exception exc)
 {
     DataLayer.ExceptionHandling.ExceptionLogger.LogException(category.ToString(), exc);
     //TODO: Stop Service
     throw exc;
 }