Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / UserException.cpp
bloba8dfd8d0416b30558c1dc7696c6c2e1dce960f74
1 #include "tao/UserException.h"
3 #include "ace/SString.h"
4 #include "ace/OS_NS_string.h"
6 #if !defined (__ACE_INLINE__)
7 # include "tao/UserException.inl"
8 #endif /* __ACE_INLINE__ */
10 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
12 CORBA::UserException &
13 CORBA::UserException::operator= (CORBA::UserException const & rhs)
15 this->Exception::operator= (rhs);
16 return *this;
19 // Virtual. Do not inline.
20 CORBA::TypeCode_ptr
21 CORBA::UserException::_tao_type () const
23 return nullptr;
26 ACE_CString
27 CORBA::UserException::_info () const
29 // @@ we can use the exception's typecode to dump all the data held
30 // within it ...
32 ACE_CString user_exception_info = "user exception, ID '";
33 user_exception_info += this->_rep_id ();
34 user_exception_info += "'";
35 return user_exception_info;
38 TAO_END_VERSIONED_NAMESPACE_DECL