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); } }
private static void HandleFATAL(ExceptionCategory category, Exception exc) { DataLayer.ExceptionHandling.ExceptionLogger.LogException(category.ToString(), exc); //TODO: Stop Service throw exc; }