void compiler_ExceptionHandler(object sender, Exceptions.ExceptionHandlerArgs e) { if (addExceptions) { Exceptions.Add(e.Exception); } }
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; } }