summaryrefslogtreecommitdiff
path: root/TAO/tao/Environment.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-16 22:44:57 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-16 22:44:57 +0000
commitcf8c9f3826cc7cc841b12f505b670720f87549c1 (patch)
treef8003aa6f0fbcec38aa29fb25d65ff8b85469f02 /TAO/tao/Environment.cpp
parent104a27632de04fc6a5819318db0c00d9819cd651 (diff)
downloadATCD-cf8c9f3826cc7cc841b12f505b670720f87549c1.tar.gz
More exceptions stuff
Diffstat (limited to 'TAO/tao/Environment.cpp')
-rw-r--r--TAO/tao/Environment.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/TAO/tao/Environment.cpp b/TAO/tao/Environment.cpp
index 677345ae6ad..c4ee79da10b 100644
--- a/TAO/tao/Environment.cpp
+++ b/TAO/tao/Environment.cpp
@@ -193,13 +193,11 @@ CORBA::Environment::print_exception (const char *info,
ACE_DEBUG ((LM_ERROR, "(%P|%t) EXCEPTION, %s\n", info));
- // @@ get rid of this logic, and rely on some member function on
- // Exception to say if it's user or system exception.
+ CORBA::SystemException *x2 =
+ CORBA_SystemException::_narrow (this->exception_);
- if (this->exception_type () == CORBA::SYSTEM_EXCEPTION)
+ if (x2 != 0)
{
- CORBA::SystemException *x2 =
- CORBA_SystemException::_narrow (this->exception_);
// @@ there are a other few "user exceptions" in the CORBA
// scope, they're not all standard/system exceptions ... really