Пример #1
0
 void compiler_ExceptionHandler(object sender, Exceptions.ExceptionHandlerArgs e)
 {
     if (addExceptions)
     {
         Exceptions.Add(e.Exception);
     }
 }
Пример #2
0
 private void parser_ExceptionHandler(object sender, Exceptions.ExceptionHandlerArgs e)
 {
     if (ExceptionHandler != null)
     {
         ExceptionHandler(sender, e);
         if (e.Exception is Exceptions.FormatException)
         {
             formatException = true;
         }
     }
     else
     {
         throw e.Exception;
     }
 }