diff options
author | Bernard Normier <bernard@zeroc.com> | 2014-10-28 18:04:53 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2014-10-28 18:04:53 -0400 |
commit | f6d752435e0a6988437135af107f7f0bc142a1c9 (patch) | |
tree | 18f77eacee8ab0e761fcadfa9a34cd45bf0ac7d3 /cpp/src/Ice/ObjectAdapterFactory.cpp | |
parent | Fixed IceStorm single test (diff) | |
download | ice-f6d752435e0a6988437135af107f7f0bc142a1c9.tar.bz2 ice-f6d752435e0a6988437135af107f7f0bc142a1c9.tar.xz ice-f6d752435e0a6988437135af107f7f0bc142a1c9.zip |
createObjectAdapter now raises CommunicatorDestroyedException if the communicator is destroyed, instead of ObjectAdapterDeactivatedException (C++ and C#); Java done in earlier commit.
Diffstat (limited to 'cpp/src/Ice/ObjectAdapterFactory.cpp')
-rw-r--r-- | cpp/src/Ice/ObjectAdapterFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/ObjectAdapterFactory.cpp b/cpp/src/Ice/ObjectAdapterFactory.cpp index 35ca16ea03e..7b2b2293507 100644 --- a/cpp/src/Ice/ObjectAdapterFactory.cpp +++ b/cpp/src/Ice/ObjectAdapterFactory.cpp @@ -131,7 +131,7 @@ IceInternal::ObjectAdapterFactory::createObjectAdapter(const string& name, const if(!_instance) { - throw ObjectAdapterDeactivatedException(__FILE__, __LINE__); + throw CommunicatorDestroyedException(__FILE__, __LINE__); } ObjectAdapterIPtr adapter; |