diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-02-21 21:21:56 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-02-21 21:21:56 +0000 |
commit | 5f96b8c20a5b38974cde3a2ad10c09bc838dbb03 (patch) | |
tree | a0db52533a8689ee78c653ab07bbec29c4f8b61f /TAO/tao/SystemException.cpp | |
parent | 22316a2674dfc985f604473ec42a0e8f5947c50a (diff) | |
download | ATCD-5f96b8c20a5b38974cde3a2ad10c09bc838dbb03.tar.gz |
ChangeLogTag:Mon Feb 21 13:09:43 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/SystemException.cpp')
-rw-r--r-- | TAO/tao/SystemException.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/TAO/tao/SystemException.cpp b/TAO/tao/SystemException.cpp index 16c6ffe2205..85ee1231b57 100644 --- a/TAO/tao/SystemException.cpp +++ b/TAO/tao/SystemException.cpp @@ -140,28 +140,6 @@ CORBA::SystemException::_is_a (const char* interface_id) const || this->Exception::_is_a (interface_id)); } -CORBA::SystemException* -CORBA::SystemException::_downcast (CORBA::Exception* exception) -{ - if (exception->_is_a ("IDL:omg.org/CORBA/SystemException:1.0")) - { - return dynamic_cast<CORBA::SystemException *> (exception); - } - - return 0; -} - -const CORBA::SystemException* -CORBA::SystemException::_downcast (const CORBA::Exception *exception) -{ - if (exception->_is_a ("IDL:omg.org/CORBA/SystemException:1.0")) - { - return dynamic_cast<const CORBA::SystemException *> (exception); - } - - return 0; -} - void CORBA::SystemException::_tao_encode (TAO_OutputCDR &cdr ACE_ENV_ARG_DECL) const @@ -1125,18 +1103,6 @@ TAO_Exceptions::fini (void) } #define TAO_SYSTEM_EXCEPTION(name) \ -CORBA::name * \ -CORBA::name ::_downcast (CORBA::Exception* exception) \ -{ \ - if (exception->_is_a ("IDL:omg.org/CORBA/" #name ":1.0")) \ - return dynamic_cast<CORBA::name *> (exception); \ - return 0; \ -} - -STANDARD_EXCEPTION_LIST -#undef TAO_SYSTEM_EXCEPTION - -#define TAO_SYSTEM_EXCEPTION(name) \ void \ CORBA::name ::_raise (void) const \ { \ |