}
else if(message.startsWith("notice:")) {
severity = Diagnostic.INFO;
message = message.substring(7);
}
DiagnosticType type = message.startsWith("Could not parse")
? ValidationService.CATALOG_PARSER
: ValidationService.CATALOG;
CatalogDiagnostic diag = new CatalogDiagnostic(severity, type, message, new File(fileName));
try {
diag.setLineNumber(Integer.parseInt(line));