diff options
author | doccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-05-15 21:49:28 +0000 |
---|---|---|
committer | doccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-05-15 21:49:28 +0000 |
commit | 904b4bf24c1bb07f1c220c1b25f19e8879533cad (patch) | |
tree | f8a4af12ead324804e557a0a2eedd5a4ab5746bb /TAO/tao/Exception.h | |
parent | e469eeb1ba889c9e6fd3b4113abc7ecc583a2992 (diff) | |
download | ATCD-904b4bf24c1bb07f1c220c1b25f19e8879533cad.tar.gz |
ChangeLogTag:Mon May 15 14:43:23 2000 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'TAO/tao/Exception.h')
-rw-r--r-- | TAO/tao/Exception.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/TAO/tao/Exception.h b/TAO/tao/Exception.h index 2bdf4294a3f..5196c3dbfc9 100644 --- a/TAO/tao/Exception.h +++ b/TAO/tao/Exception.h @@ -62,7 +62,7 @@ public: virtual void _raise (void) = 0; // = The static narrow operation. - static CORBA_Exception *_narrow (CORBA_Exception *x); + static CORBA_Exception *_downcast (CORBA_Exception *x); // = These are TAO-specific extensions. @@ -139,7 +139,7 @@ public: CORBA_UserException &operator= (const CORBA_UserException &src); // Assignment operator. - static CORBA_UserException *_narrow (CORBA_Exception *exception); + static CORBA_UserException *_downcast (CORBA_Exception *exception); // The narrow operation. // = TAO specific extension. @@ -190,13 +190,13 @@ public: void completed (CORBA::CompletionStatus c); // Set the operation completion status. - static CORBA_SystemException *_narrow (CORBA_Exception *exception); + static CORBA_SystemException *_downcast (CORBA_Exception *exception); // Narrow to a SystemException. // = TAO-specific extension. virtual int _is_a (const char *type_id) const; - // Helper for the _narrow operation. + // Helper for the _downcast operation. void _tao_print_system_exception (FILE *f = stdout) const; // Print the system exception <ex> to output determined by f. This @@ -246,7 +246,7 @@ public: \ CORBA::CompletionStatus completed) \ : CORBA_SystemException (CORBA::_tc_ ## name, code, completed) \ { } \ - static CORBA_##name * _narrow (CORBA_Exception* exception); \ + static CORBA_##name * _downcast (CORBA_Exception* exception); \ virtual int _is_a (const char* type_id) const; \ virtual void _raise (void); \ } @@ -325,13 +325,13 @@ public: virtual void _tao_decode (TAO_InputCDR &cdr, CORBA::Environment &); - static CORBA_UnknownUserException *_narrow (CORBA_Exception *ex); + static CORBA_UnknownUserException *_downcast (CORBA_Exception *ex); // Narrow to an UnknowUserException // = TAO specific extension. virtual int _is_a (const char *type_id) const; - // Helper method to implement _narrow. + // Helper method to implement _downcast. private: CORBA_Any *exception_; |