summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Object.cpp
diff options
context:
space:
mode:
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*