MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / warning

Method warning

src/openms/source/FORMAT/VALIDATORS/XMLValidator.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 void XMLValidator::warning(const SAXParseException & exception)
85 {
86 char * message = XMLString::transcode(exception.getMessage());
87 String error_message = String("Validation warning in file '") + filename_ + "' line " + (UInt) exception.getLineNumber() + " column " + (UInt) exception.getColumnNumber() + ": " + message;
88 (*os_) << error_message << endl;
89 valid_ = false;
90 XMLString::release(&message);
91 }
92
93 void XMLValidator::error(const SAXParseException & exception)
94 {

Callers

nothing calls this directly

Calls 2

StringClass · 0.50
getMessageMethod · 0.45

Tested by

no test coverage detected