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 /cppe/src/IceE/ObjectAdapter.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 'cppe/src/IceE/ObjectAdapter.cpp')
-rw-r--r-- | cppe/src/IceE/ObjectAdapter.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cppe/src/IceE/ObjectAdapter.cpp b/cppe/src/IceE/ObjectAdapter.cpp index c967dfe65b9..0c34fef31cf 100644 --- a/cppe/src/IceE/ObjectAdapter.cpp +++ b/cppe/src/IceE/ObjectAdapter.cpp @@ -821,6 +821,12 @@ Ice::ObjectAdapter::parseEndpoints(const string& str) const string s = endpts.substr(beg, end - beg); EndpointPtr endp = _instance->endpointFactory()->create(s); + if(endp == 0) + { + EndpointParseException ex(__FILE__, __LINE__); + ex.str = s; + throw ex; + } endpoints.push_back(endp); ++end; |