summaryrefslogtreecommitdiff
path: root/TAO/tao/Any.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Any.cpp')
-rw-r--r--TAO/tao/Any.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Any.cpp b/TAO/tao/Any.cpp
index 16fb1b2f369..1cfebf5c304 100644
--- a/TAO/tao/Any.cpp
+++ b/TAO/tao/Any.cpp
@@ -1615,11 +1615,11 @@ operator>> (TAO_InputCDR &cdr,
// Skip over the next aregument.
CORBA::TypeCode::traverse_status status =
cdr.skip (tc.in (), ACE_TRY_ENV);
- ACE_CHECK;
+ ACE_TRY_CHECK;
if (status != CORBA::TypeCode::TRAVERSE_CONTINUE)
{
- ACE_THROW (CORBA::MARSHAL ());
+ return 0;
}
// This will be the end of the new message block.