UserException.cpp

Go to the documentation of this file.
00001 // UserException.cpp,v 1.8 2006/03/10 07:19:07 jtc Exp
00002 
00003 #include "tao/UserException.h"
00004 
00005 #include "ace/SString.h"
00006 #include "ace/OS_NS_string.h"
00007 
00008 #if !defined (__ACE_INLINE__)
00009 # include "tao/UserException.inl"
00010 #endif /* __ACE_INLINE__ */
00011 
00012 ACE_RCSID (tao,
00013            UserException,
00014            "UserException.cpp,v 1.8 2006/03/10 07:19:07 jtc Exp")
00015 
00016 
00017 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00018 
00019 // Virtual.  Do not inline.
00020 CORBA::UserException::~UserException (void)
00021 {
00022 }
00023 
00024 CORBA::UserException &
00025 CORBA::UserException::operator= (CORBA::UserException const & rhs)
00026 {
00027   this->Exception::operator= (rhs);
00028   return *this;
00029 }
00030 
00031 // Virtual.  Do not inline.
00032 CORBA::TypeCode_ptr
00033 CORBA::UserException::_tao_type (void) const
00034 {
00035   return 0;
00036 }
00037 
00038 ACE_CString
00039 CORBA::UserException::_info (void) const
00040 {
00041   // @@ we can use the exception's typecode to dump all the data held
00042   // within it ...
00043 
00044   ACE_CString user_exception_info = "user exception, ID '";
00045   user_exception_info += this->_rep_id ();
00046   user_exception_info += "'";
00047   return user_exception_info;
00048 }
00049 
00050 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 11:54:28 2006 for TAO by doxygen 1.3.6