diff options
author | Benoit Foucher <benoit@zeroc.com> | 2002-09-04 19:23:32 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2002-09-04 19:23:32 +0000 |
commit | bdeb0007e50f676bf416ca25c493c888548ea7cd (patch) | |
tree | f7f25ecd302b273e31d80a420e5667b40900a267 /cpp/src/Ice/Exception.cpp | |
parent | Temporary fix to use binary freeze db (diff) | |
download | ice-bdeb0007e50f676bf416ca25c493c888548ea7cd.tar.bz2 ice-bdeb0007e50f676bf416ca25c493c888548ea7cd.tar.xz ice-bdeb0007e50f676bf416ca25c493c888548ea7cd.zip |
Added local exceptions ObjectAdapterActiveException and
ObjectAdapterNotRegisteredException.
:LocatoRegistry::addAdapter method to setAdapterDirectProxy.
Minor IcePack fixes.
Diffstat (limited to 'cpp/src/Ice/Exception.cpp')
-rw-r--r-- | cpp/src/Ice/Exception.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp index 0f64228c893..baa65868bf0 100644 --- a/cpp/src/Ice/Exception.cpp +++ b/cpp/src/Ice/Exception.cpp @@ -75,6 +75,20 @@ Ice::ObjectAdapterDeactivatedException::ice_print(ostream& out) const } void +Ice::ObjectAdapterActiveException::ice_print(ostream& out) const +{ + Exception::ice_print(out); + out << ":\nobject adapter already active"; +} + +void +Ice::ObjectAdapterNotRegisteredException::ice_print(ostream& out) const +{ + Exception::ice_print(out); + out << ":\nobject adapter not registered with the locator"; +} + +void Ice::NoEndpointException::ice_print(ostream& out) const { Exception::ice_print(out); |