diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
commit | 3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (patch) | |
tree | 197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/tao/UserException.cpp | |
parent | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (diff) | |
download | ATCD-3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/UserException.cpp')
-rw-r--r-- | TAO/tao/UserException.cpp | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/TAO/tao/UserException.cpp b/TAO/tao/UserException.cpp new file mode 100644 index 00000000000..638f895b362 --- /dev/null +++ b/TAO/tao/UserException.cpp @@ -0,0 +1,50 @@ +// $Id$ + +#include "tao/UserException.h" + +#include "ace/SString.h" +#include "ace/OS_NS_string.h" + +#if !defined (__ACE_INLINE__) +# include "tao/UserException.inl" +#endif /* __ACE_INLINE__ */ + +ACE_RCSID (tao, + UserException, + "$Id$") + + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +// Virtual. Do not inline. +CORBA::UserException::~UserException (void) +{ +} + +CORBA::UserException & +CORBA::UserException::operator= (CORBA::UserException const & rhs) +{ + this->Exception::operator= (rhs); + return *this; +} + +// Virtual. Do not inline. +CORBA::TypeCode_ptr +CORBA::UserException::_tao_type (void) const +{ + return 0; +} + +ACE_CString +CORBA::UserException::_info (void) const +{ + // @@ we can use the exception's typecode to dump all the data held + // within it ... + + ACE_CString user_exception_info = "user exception, ID '"; + user_exception_info += this->_rep_id (); + user_exception_info += "'"; + return user_exception_info; +} + +TAO_END_VERSIONED_NAMESPACE_DECL |