diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-07-11 14:06:17 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-07-11 14:06:17 +0000 |
commit | bfd7f1aa2e102b933ac5933124f2560428a34452 (patch) | |
tree | c89163be2d2e078324984c85e4bce54baf3ffc38 /cpp/src/Ice/ObjectAdapterI.cpp | |
parent | fix optimization settings. (diff) | |
download | ice-bfd7f1aa2e102b933ac5933124f2560428a34452.tar.bz2 ice-bfd7f1aa2e102b933ac5933124f2560428a34452.tar.xz ice-bfd7f1aa2e102b933ac5933124f2560428a34452.zip |
Parsing a stringified proxy no longer fails if a endpoint type is unknown
as long as there are others that are known.
Diffstat (limited to 'cpp/src/Ice/ObjectAdapterI.cpp')
-rw-r--r-- | cpp/src/Ice/ObjectAdapterI.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Ice/ObjectAdapterI.cpp b/cpp/src/Ice/ObjectAdapterI.cpp index 5d8c5af49b9..f8e29759e33 100644 --- a/cpp/src/Ice/ObjectAdapterI.cpp +++ b/cpp/src/Ice/ObjectAdapterI.cpp @@ -879,6 +879,12 @@ Ice::ObjectAdapterI::parseEndpoints(const string& str) const string s = endpts.substr(beg, end - beg); EndpointPtr endp = _instance->endpointFactoryManager()->create(s); + if(endp == 0) + { + EndpointParseException ex(__FILE__, __LINE__); + ex.str = s; + throw ex; + } endpoints.push_back(endp); ++end; |