diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-25 17:37:58 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-25 17:37:58 +0000 |
commit | 19d7c0c1fb1b7398b74433adc5c9ffb3a3ff677a (patch) | |
tree | 9ad61815043f0477bfd6cfbf977885ec62957eb3 /TAO/tao/Environment.cpp | |
parent | 4f1e4b05fd14bfd7453910cfeb68c10eab204dd0 (diff) | |
download | ATCD-19d7c0c1fb1b7398b74433adc5c9ffb3a3ff677a.tar.gz |
added support for passing location and errno through minor status of SystemExceptions
Diffstat (limited to 'TAO/tao/Environment.cpp')
-rw-r--r-- | TAO/tao/Environment.cpp | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/TAO/tao/Environment.cpp b/TAO/tao/Environment.cpp index cf0713126d3..6240f4e93b3 100644 --- a/TAO/tao/Environment.cpp +++ b/TAO/tao/Environment.cpp @@ -206,23 +206,7 @@ CORBA::Environment::print_exception (const char *info, if (x2 != 0) { - - // @@ there are a other few "user exceptions" in the CORBA - // scope, they're not all standard/system exceptions ... really - // need to either compare exhaustively against all those IDs - // (yeech) or (preferably) to represent the exception type - // directly in the exception value so it can be queried. - - ACE_DEBUG ((LM_ERROR, - "TAO: (%P|%t) system exception, ID '%s'\n", - id)); - ACE_DEBUG ((LM_ERROR, - "TAO: (%P|%t) minor code = %x, completed = %s\n", - x2->minor (), - (x2->completed () == CORBA::COMPLETED_YES) ? "YES" : - (x2->completed () == CORBA::COMPLETED_NO) ? "NO" : - (x2->completed () == CORBA::COMPLETED_MAYBE) ? "MAYBE" : - "garbage")); + x2->print_exception_tao_ (); } else // @@ we can use the exception's typecode to dump all the data @@ -261,6 +245,3 @@ CORBA_Environment_var::operator= (const CORBA_Environment_var &r) this->ptr_ = new CORBA::Environment (*r.ptr_); return *this; } - - - |