summaryrefslogtreecommitdiff
path: root/TAO/tao/WrongTransactionC.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-11 18:25:02 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-11 18:25:02 +0000
commitfe6db4817f56ad8261335919e5306554cc5cde10 (patch)
tree48be1cd6a9d302b5083f65f03e0e0d8d4a35ef8a /TAO/tao/WrongTransactionC.cpp
parenta8aadd06845af3803a166d3cf39d955b275e1152 (diff)
downloadATCD-fe6db4817f56ad8261335919e5306554cc5cde10.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/tao/WrongTransactionC.cpp')
-rw-r--r--TAO/tao/WrongTransactionC.cpp65
1 files changed, 65 insertions, 0 deletions
diff --git a/TAO/tao/WrongTransactionC.cpp b/TAO/tao/WrongTransactionC.cpp
new file mode 100644
index 00000000000..d532256e7a9
--- /dev/null
+++ b/TAO/tao/WrongTransactionC.cpp
@@ -0,0 +1,65 @@
+/* -*- C++ -*- */
+// $Id$
+
+// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
+// TAO and the TAO IDL Compiler have been developed by the Center for
+// Distributed Object Computing at Washington University, St. Louis.
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#if ! defined (TAO_HAS_MINIMUM_CORBA)
+
+#include "WrongTransactionC.h"
+
+// default constructor
+CORBA::WrongTransaction::WrongTransaction (void)
+ : CORBA_UserException (CORBA::_tc_WrongTransaction)
+{
+}
+
+// destructor - all members are of self managing types
+CORBA::WrongTransaction::~WrongTransaction (void)
+{
+}
+
+// copy constructor
+CORBA::WrongTransaction::WrongTransaction (const CORBA::WrongTransaction &_tao_excp)
+ : CORBA_UserException (_tao_excp._type ())
+{
+}
+
+// assignment operator
+CORBA::WrongTransaction&
+CORBA::WrongTransaction::operator= (const CORBA::WrongTransaction &_tao_excp)
+{
+
+ this->CORBA_UserException::operator= (_tao_excp);
+ return *this;
+}
+
+// narrow
+CORBA::WrongTransaction_ptr
+CORBA::WrongTransaction::_narrow (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/CORBA/WrongTransaction:1.0", exc->_id ())) // same type
+ return ACE_dynamic_cast (CORBA::WrongTransaction_ptr, exc);
+ else
+ return 0;
+}
+
+
+void CORBA::WrongTransaction::_raise ()
+{
+ TAO_RAISE(*this);
+}
+
+// TAO extension - the _alloc method
+CORBA::Exception *CORBA::WrongTransaction::_alloc (void)
+{
+ return new CORBA::WrongTransaction;
+}
+
+#endif /* ! defined TAO_HAS_MINIMUM_CORBA */
+
+