diff options
author | Anthony Neal <aneal@zeroc.com> | 2002-03-15 20:25:56 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2002-03-15 20:25:56 +0000 |
commit | 753f8c427623139b89037d617a84c4e2a15f3aa9 (patch) | |
tree | 1425b86865eef1f96f16e665f599c95dee4555a9 /cpp/src/Ice/SslConfigErrorReporter.cpp | |
parent | Fixed a docbook error (typo) and a bug with a numeric to string data (diff) | |
download | ice-753f8c427623139b89037d617a84c4e2a15f3aa9.tar.bz2 ice-753f8c427623139b89037d617a84c4e2a15f3aa9.tar.xz ice-753f8c427623139b89037d617a84c4e2a15f3aa9.zip |
Changed the names of the Parser and ErrorReporter classes to conform with
the upcoming file name changes.
Diffstat (limited to 'cpp/src/Ice/SslConfigErrorReporter.cpp')
-rw-r--r-- | cpp/src/Ice/SslConfigErrorReporter.cpp | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/cpp/src/Ice/SslConfigErrorReporter.cpp b/cpp/src/Ice/SslConfigErrorReporter.cpp index 9a73f92a360..8ebec154f6b 100644 --- a/cpp/src/Ice/SslConfigErrorReporter.cpp +++ b/cpp/src/Ice/SslConfigErrorReporter.cpp @@ -21,11 +21,23 @@ using namespace std; -void ::IceInternal::incRef(::IceSSL::ErrorReporter* p) { p->__incRef(); }
-void ::IceInternal::decRef(::IceSSL::ErrorReporter* p) { p->__decRef(); }
+void ::IceInternal::incRef(::IceSSL::ConfigParserErrorReporter* p) { p->__incRef(); }
+void ::IceInternal::decRef(::IceSSL::ConfigParserErrorReporter* p) { p->__decRef(); }
+IceSSL::ConfigParserErrorReporter::ConfigParserErrorReporter(const IceInternal::TraceLevelsPtr& traceLevels, + const Ice::LoggerPtr& logger) : + _sawErrors(false), + _traceLevels(traceLevels), + _logger(logger) +{ +} + +IceSSL::ConfigParserErrorReporter::~ConfigParserErrorReporter() +{ +} + void -IceSSL::ErrorReporter::warning(const SAXParseException& toCatch) +IceSSL::ConfigParserErrorReporter::warning(const SAXParseException& toCatch) { if (_traceLevels->security >= IceSSL::SECURITY_PARSE_WARNINGS) { @@ -43,7 +55,7 @@ IceSSL::ErrorReporter::warning(const SAXParseException& toCatch) } void -IceSSL::ErrorReporter::error(const SAXParseException& toCatch) +IceSSL::ConfigParserErrorReporter::error(const SAXParseException& toCatch) { _sawErrors = true; @@ -63,7 +75,7 @@ IceSSL::ErrorReporter::error(const SAXParseException& toCatch) } void -IceSSL::ErrorReporter::fatalError(const SAXParseException& toCatch) +IceSSL::ConfigParserErrorReporter::fatalError(const SAXParseException& toCatch) { _sawErrors = true; @@ -83,13 +95,13 @@ IceSSL::ErrorReporter::fatalError(const SAXParseException& toCatch) } void -IceSSL::ErrorReporter::resetErrors() +IceSSL::ConfigParserErrorReporter::resetErrors() { // No-op in this case } bool
-IceSSL::ErrorReporter::getSawErrors() const
+IceSSL::ConfigParserErrorReporter::getSawErrors() const
{
return _sawErrors;
}
|