diff options
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 |