diff options
author | Benoit Foucher <benoit@zeroc.com> | 2002-10-01 03:15:11 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2002-10-01 03:15:11 +0000 |
commit | bfb305ce183f070aa793657cb72a5ae5460044ae (patch) | |
tree | bdcd2b9e31da0b036a135e114e1c9724a37a1290 /cpp/src/Ice/EndpointFactoryManager.cpp | |
parent | fix (diff) | |
download | ice-bfb305ce183f070aa793657cb72a5ae5460044ae.tar.bz2 ice-bfb305ce183f070aa793657cb72a5ae5460044ae.tar.xz ice-bfb305ce183f070aa793657cb72a5ae5460044ae.zip |
Improved few local exceptions and evictor fix.
Diffstat (limited to 'cpp/src/Ice/EndpointFactoryManager.cpp')
-rw-r--r-- | cpp/src/Ice/EndpointFactoryManager.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpp/src/Ice/EndpointFactoryManager.cpp b/cpp/src/Ice/EndpointFactoryManager.cpp index e068c147d8d..6a9adec0007 100644 --- a/cpp/src/Ice/EndpointFactoryManager.cpp +++ b/cpp/src/Ice/EndpointFactoryManager.cpp @@ -74,7 +74,9 @@ IceInternal::EndpointFactoryManager::create(const string& str) const string::size_type beg = str.find_first_not_of(delim); if(beg == string::npos) { - throw EndpointParseException(__FILE__, __LINE__); + EndpointParseException ex(__FILE__, __LINE__); + ex.str = str; + throw ex; } string::size_type end = str.find_first_of(delim, beg); @@ -101,7 +103,9 @@ IceInternal::EndpointFactoryManager::create(const string& str) const } } - throw EndpointParseException(__FILE__, __LINE__); + EndpointParseException ex(__FILE__, __LINE__); + ex.str = str; + throw ex; } EndpointPtr |