summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Object.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2007-05-17 21:36:31 +0000
committerBernard Normier <bernard@zeroc.com>2007-05-17 21:36:31 +0000
commit8ab0e64e8aea8398fcb85381e576b8c440ba6aa2 (patch)
tree2a97f61f8aade7b3b6e73b33ebfe31b87566a543 /cppe/src/IceE/Object.cpp
parenttypo (diff)
downloadice-8ab0e64e8aea8398fcb85381e576b8c440ba6aa2.tar.bz2
ice-8ab0e64e8aea8398fcb85381e576b8c440ba6aa2.tar.xz
ice-8ab0e64e8aea8398fcb85381e576b8c440ba6aa2.zip
Split DispatchStatus into DispatchStatus and ReplyStatus
Diffstat (limited to 'cppe/src/IceE/Object.cpp')
-rw-r--r--cppe/src/IceE/Object.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppe/src/IceE/Object.cpp b/cppe/src/IceE/Object.cpp
index eba80610bba..27f4b7beb63 100644
--- a/cppe/src/IceE/Object.cpp
+++ b/cppe/src/IceE/Object.cpp
@@ -74,7 +74,7 @@ Ice::Object::ice_staticId()
ObjectPtr
Ice::Object::ice_clone() const
{
- throw new CloneNotImplementedException(__FILE__, __LINE__);
+ throw CloneNotImplementedException(__FILE__, __LINE__);
}
DispatchStatus
@@ -130,7 +130,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)
@@ -154,7 +154,7 @@ Ice::Object::__dispatch(Incoming& in, const Current& current)
}
assert(false);
- return DispatchOperationNotExist;
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
}
static const char*