コード例 #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;
     }
 }