diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-02 16:55:15 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-02 16:55:15 +0000 |
commit | 7a589cb97a18ad905339a20824fe5b0bfc90cc9f (patch) | |
tree | f65567a89f46899885dc995324e10368825902d2 /cpp/src/Ice/ConfigParserErrorReporter.cpp | |
parent | initial clean-up (diff) | |
download | ice-7a589cb97a18ad905339a20824fe5b0bfc90cc9f.tar.bz2 ice-7a589cb97a18ad905339a20824fe5b0bfc90cc9f.tar.xz ice-7a589cb97a18ad905339a20824fe5b0bfc90cc9f.zip |
finished() fixes
Diffstat (limited to 'cpp/src/Ice/ConfigParserErrorReporter.cpp')
-rw-r--r-- | cpp/src/Ice/ConfigParserErrorReporter.cpp | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/cpp/src/Ice/ConfigParserErrorReporter.cpp b/cpp/src/Ice/ConfigParserErrorReporter.cpp index fdbe17eebd3..f9e4d684901 100644 --- a/cpp/src/Ice/ConfigParserErrorReporter.cpp +++ b/cpp/src/Ice/ConfigParserErrorReporter.cpp @@ -43,12 +43,10 @@ IceSSL::ConfigParserErrorReporter::warning(const SAXParseException& toCatch) { ostringstream s; - s << "SSL configuration file parse warning." << endl; - s << "Xerces-c Init Exception: Warning at file \"" << flush; - s << DOMString(toCatch.getSystemId()) << flush; - s << "\", line " << toCatch.getLineNumber() << flush; - s << ", column " << toCatch.getColumnNumber() << flush; - s << "\n Message: " << DOMString(toCatch.getMessage()) << endl; + s << "ssl configuration file parse warning\n"; + s << "xerces-c init exception: warning at file \"" << DOMString(toCatch.getSystemId()) + << "\", line " << toCatch.getLineNumber() << ", column " << toCatch.getColumnNumber() << '\n'; + s << "message: " << DOMString(toCatch.getMessage()); _logger->trace(_traceLevels->securityCat, "PWN " + s.str()); } @@ -63,13 +61,11 @@ IceSSL::ConfigParserErrorReporter::error(const SAXParseException& toCatch) { ostringstream s; - s << "SSL configuration file parse error." << endl; - s << "Xerces-c Init Exception: Error at file \"" << flush; - s << DOMString(toCatch.getSystemId()) << flush; - s << "\", line " << toCatch.getLineNumber() << flush; - s << ", column " << toCatch.getColumnNumber() << flush; - s << "\n Message: " << DOMString(toCatch.getMessage()) << endl; - + s << "ssl configuration file parse error\n"; + s << "xerces-c init exception: error at file \"" << DOMString(toCatch.getSystemId()) + << "\", line " << toCatch.getLineNumber() << ", column " << toCatch.getColumnNumber() << '\n'; + s << "message: " << DOMString(toCatch.getMessage()); + _logger->trace(_traceLevels->securityCat, "PWN " + s.str()); } } @@ -83,12 +79,10 @@ IceSSL::ConfigParserErrorReporter::fatalError(const SAXParseException& toCatch) { ostringstream s; - s << "SSL configuration file parse error." << endl; - s << "Xerces-c Init Exception: Fatal error at file \"" << flush; - s << DOMString(toCatch.getSystemId()) << flush; - s << "\", line " << toCatch.getLineNumber() << flush; - s << ", column " << toCatch.getColumnNumber() << flush; - s << "\n Message: " << DOMString(toCatch.getMessage()) << endl; + s << "ssl configuration file parse error\n"; + s << "xerces-c init exception: fatal error at file \"" << DOMString(toCatch.getSystemId()) + << "\", line " << toCatch.getLineNumber() << ", column " << toCatch.getColumnNumber() << '\n'; + s << "message: " << DOMString(toCatch.getMessage()) << endl; _logger->trace(_traceLevels->securityCat, "PWN " + s.str()); } |