} catch (MaxErrorsExceededException e) {
// ignored because it signals end of validating
} catch (SAXParseException e) {
// ignored because it is already signaled to error handler
} catch (SAXException e) {
error(new ValidationException("XML", e.getLocalizedMessage()));
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
error(new ValidationException("XML", e.getLocalizedMessage()));
}
return getErrors();
}