From bfb305ce183f070aa793657cb72a5ae5460044ae Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Tue, 1 Oct 2002 03:15:11 +0000 Subject: Improved few local exceptions and evictor fix. --- cpp/src/Ice/EndpointFactoryManager.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'cpp/src/Ice/EndpointFactoryManager.cpp') 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 -- cgit v1.2.3