diff options
author | Jose <jose@zeroc.com> | 2016-01-20 10:36:51 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-01-20 10:36:51 +0100 |
commit | 13f4fd6d3cc5a044db66d9c25319419bb4ede5fa (patch) | |
tree | c230ae28caba40ac1f939fbedb5fd780d49fad0c /cpp/src/IceStorm/Parser.cpp | |
parent | ICE-6861 - removing public stream API (diff) | |
download | ice-13f4fd6d3cc5a044db66d9c25319419bb4ede5fa.tar.bz2 ice-13f4fd6d3cc5a044db66d9c25319419bb4ede5fa.tar.xz ice-13f4fd6d3cc5a044db66d9c25319419bb4ede5fa.zip |
ice_name/ice_id fixes & simplifications.
Diffstat (limited to 'cpp/src/IceStorm/Parser.cpp')
-rw-r--r-- | cpp/src/IceStorm/Parser.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/src/IceStorm/Parser.cpp b/cpp/src/IceStorm/Parser.cpp index ce7b7bf95bc..8957864f8dc 100644 --- a/cpp/src/IceStorm/Parser.cpp +++ b/cpp/src/IceStorm/Parser.cpp @@ -46,13 +46,14 @@ public: } virtual - ~UnknownManagerException() throw() + ~UnknownManagerException() ICE_NOEXCEPT { } + virtual string - ice_name() const + ice_id() const { - return "UnknownManagerException"; + return "::UnknownManagerException"; } virtual Exception* @@ -334,7 +335,7 @@ Parser::replica(const list<string>& args) } catch(const Exception& ex) { - cout << p->id << ": " << ex.ice_name() << endl; + cout << p->id << ": " << ex.ice_id() << endl; } } } |