diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-19 19:32:21 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-19 19:32:21 +0000 |
commit | 101fc61aa6768b1b9fcbc9911bf83509b221d403 (patch) | |
tree | a31861a676d9cf06700aa8c3d3508d867a02882f /cpp/src/Ice/Direct.cpp | |
parent | #ifdef test that causes problems under Linux (diff) | |
download | ice-101fc61aa6768b1b9fcbc9911bf83509b221d403.tar.bz2 ice-101fc61aa6768b1b9fcbc9911bf83509b221d403.tar.xz ice-101fc61aa6768b1b9fcbc9911bf83509b221d403.zip |
added members to object, facet, and operation not exist exceptions
Diffstat (limited to 'cpp/src/Ice/Direct.cpp')
-rw-r--r-- | cpp/src/Ice/Direct.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cpp/src/Ice/Direct.cpp b/cpp/src/Ice/Direct.cpp index d4ae9056c49..3e3416f4c6e 100644 --- a/cpp/src/Ice/Direct.cpp +++ b/cpp/src/Ice/Direct.cpp @@ -13,7 +13,7 @@ #include <Ice/ServantLocator.h> #include <Ice/Reference.h> #include <Ice/Object.h> -#include <Ice/Exception.h> +#include <Ice/LocalException.h> using namespace std; using namespace Ice; @@ -50,7 +50,9 @@ IceInternal::Direct::Direct(const ObjectAdapterPtr& adapter, const Current& curr _facetServant = _servant->ice_findFacet(_current.facet); if (!_facetServant) { - throw FacetNotExistException(__FILE__, __LINE__); + FacetNotExistException ex(__FILE__, __LINE__); + ex.facet = _current.facet; + throw ex; } } } @@ -65,7 +67,9 @@ IceInternal::Direct::Direct(const ObjectAdapterPtr& adapter, const Current& curr if(!_servant) { - throw ObjectNotExistException(__FILE__, __LINE__); + ObjectNotExistException ex(__FILE__, __LINE__); + ex.identity = _current.identity; + throw ex; } } |