summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicInterface
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-12-11 17:56:44 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-12-11 17:56:44 +0000
commit0d2729bf109e1234b53586e2629031d38318867f (patch)
tree1f99baa6761b948815f28dc5bf137bbe483b6288 /TAO/tao/DynamicInterface
parentc98e8c33b3a03bb53d8564b66ec0bbfbeffd9eaa (diff)
downloadATCD-0d2729bf109e1234b53586e2629031d38318867f.tar.gz
ChangeLogTag:Tue Dec 11 09:54:04 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tao/DynamicInterface')
-rw-r--r--TAO/tao/DynamicInterface/DII_Invocation.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/TAO/tao/DynamicInterface/DII_Invocation.cpp b/TAO/tao/DynamicInterface/DII_Invocation.cpp
index 768f38bf81e..ef3981b31a3 100644
--- a/TAO/tao/DynamicInterface/DII_Invocation.cpp
+++ b/TAO/tao/DynamicInterface/DII_Invocation.cpp
@@ -70,20 +70,8 @@ TAO_GIOP_DII_Invocation::invoke (CORBA::ExceptionList_ptr exceptions
this->inp_stream ().byte_order (),
cdr);
- CORBA_Exception *exception = 0;
-
- ACE_NEW_THROW_EX (exception,
- CORBA_UnknownUserException (any),
- CORBA::NO_MEMORY (TAO_DEFAULT_MINOR_CODE,
- CORBA::COMPLETED_YES));
- ACE_CHECK_RETURN (TAO_INVOKE_EXCEPTION);
-
- // @@ Think about a better way to raise the exception here,
- // maybe we need some more macros?
-#if !defined (ACE_HAS_EXCEPTIONS)
- TAO_ENV_SINGLE_ARG_PARAMETER.exception (exception); // We can not use ACE_THROW here.
-#endif
- return TAO_INVOKE_EXCEPTION;
+ ACE_THROW_RETURN (CORBA_UnknownUserException (any),
+ TAO_INVOKE_EXCEPTION);
}
// If we couldn't find the right exception, report it as