summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Object.cpp')
-rw-r--r--cpp/src/Ice/Object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Object.cpp b/cpp/src/Ice/Object.cpp
index 18bc62cf633..5295d6033ed 100644
--- a/cpp/src/Ice/Object.cpp
+++ b/cpp/src/Ice/Object.cpp
@@ -201,7 +201,7 @@ Ice::Object::__dispatch(Incoming& in, const Current& current)
if(r.first == r.second)
{
- return DispatchOperationNotExist;
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
}
switch(r.first - __all)
@@ -225,7 +225,7 @@ Ice::Object::__dispatch(Incoming& in, const Current& current)
}
assert(false);
- return DispatchOperationNotExist;
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
}
DispatchStatus