00001 // -*- C++ -*- 00002 // 00003 // $Id: UserException.inl 69153 2005-11-02 11:03:27Z ossama $ 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 ACE_INLINE 00008 CORBA::UserException::UserException (void) 00009 { 00010 } 00011 00012 ACE_INLINE 00013 CORBA::UserException::UserException (char const * repository_id, 00014 char const * local_name) 00015 : CORBA::Exception (repository_id, 00016 local_name) 00017 { 00018 } 00019 00020 ACE_INLINE 00021 CORBA::UserException::UserException (CORBA::UserException const & rhs) 00022 : CORBA::Exception (rhs) 00023 { 00024 } 00025 00026 ACE_INLINE CORBA::UserException * 00027 CORBA::UserException::_downcast (CORBA::Exception * exception) 00028 { 00029 return dynamic_cast<CORBA::UserException *> (exception); 00030 } 00031 00032 ACE_INLINE const CORBA::UserException * 00033 CORBA::UserException::_downcast (CORBA::Exception const * exception) 00034 { 00035 return dynamic_cast<const CORBA::UserException *> (exception); 00036 } 00037 00038 TAO_END_VERSIONED_NAMESPACE_DECL