From 101fc61aa6768b1b9fcbc9911bf83509b221d403 Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Fri, 19 Apr 2002 19:32:21 +0000 Subject: added members to object, facet, and operation not exist exceptions --- cpp/src/Ice/Direct.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'cpp/src/Ice/Direct.cpp') 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 #include #include -#include +#include 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; } } -- cgit v1.2.3