diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-16 22:44:57 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-16 22:44:57 +0000 |
commit | cf8c9f3826cc7cc841b12f505b670720f87549c1 (patch) | |
tree | f8003aa6f0fbcec38aa29fb25d65ff8b85469f02 /TAO/tao/Environment.cpp | |
parent | 104a27632de04fc6a5819318db0c00d9819cd651 (diff) | |
download | ATCD-cf8c9f3826cc7cc841b12f505b670720f87549c1.tar.gz |
More exceptions stuff
Diffstat (limited to 'TAO/tao/Environment.cpp')
-rw-r--r-- | TAO/tao/Environment.cpp | 8 |
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 |