Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CORBA::WrongTransaction Exception Reference

UserException for DII requests. More...

#include <WrongTransactionC.h>

List of all members.

Public Methods

 WrongTransaction (void)
 WrongTransaction (const WrongTransaction &)
 ~WrongTransaction (void)
WrongTransaction & operator= (const WrongTransaction &)
virtual CORBA::Exception_tao_duplicate (void) const
virtual void _raise (void)
virtual void _tao_encode (TAO_OutputCDR &ACE_ENV_ARG_DECL_NOT_USED) const
virtual void _tao_decode (TAO_InputCDR &ACE_ENV_ARG_DECL_NOT_USED)
virtual CORBA::TypeCode_ptr _type (void) const

Static Public Methods

void _tao_any_destructor (void *)
WrongTransaction * _downcast (CORBA::Exception *)
CORBA::Exception_alloc (void)


Detailed Description

UserException for DII requests.

Exceptions:
WrongTransaction 

This exception is thrown if a CORBA Request is implicitly associated with a transaction and is found to have an error in its parameters when checked at runtime (invocation).

Definition at line 41 of file WrongTransaction.pidl.


Constructor & Destructor Documentation

CORBA::WrongTransaction::WrongTransaction void   
 

Definition at line 46 of file WrongTransactionC.cpp.

Referenced by _downcast, and _tao_any_destructor.

00047   : CORBA_UserException (
00048         "IDL:omg.org/CORBA/WrongTransaction:1.0",
00049         "WrongTransaction"
00050       )
00051 {
00052 }

CORBA::WrongTransaction::WrongTransaction const WrongTransaction &   
 

CORBA::WrongTransaction::~WrongTransaction void   
 

Definition at line 55 of file WrongTransactionC.cpp.

00056 {
00057 }


Member Function Documentation

CORBA::Exception * CORBA::WrongTransaction::_alloc void    [static]
 

Definition at line 95 of file WrongTransactionC.cpp.

References ACE_NEW_RETURN.

00096 {
00097   CORBA::Exception *retval = 0;
00098   ACE_NEW_RETURN (retval, ::CORBA::WrongTransaction, 0);
00099   return retval;
00100 }

CORBA::WrongTransaction * CORBA::WrongTransaction::_downcast CORBA::Exception   [static]
 

Definition at line 83 of file WrongTransactionC.cpp.

References ACE_OS_String::strcmp, and WrongTransaction.

00084 {
00085   if (!ACE_OS::strcmp ("IDL:omg.org/CORBA/WrongTransaction:1.0", exc->_rep_id ()))
00086     {
00087       return ACE_dynamic_cast (WrongTransaction *, exc);
00088     }
00089   else
00090     {
00091       return 0;
00092     }
00093 }

void CORBA::WrongTransaction::_raise void    [virtual]
 

Definition at line 114 of file WrongTransactionC.cpp.

References TAO_RAISE.

00115 {
00116   TAO_RAISE (*this);
00117 }

void CORBA::WrongTransaction::_tao_any_destructor void *    [static]
 

Definition at line 76 of file WrongTransactionC.cpp.

References WrongTransaction.

Referenced by operator<<=, and operator>>=.

00077 {
00078   WrongTransaction *tmp = ACE_static_cast (WrongTransaction*, _tao_void_pointer);
00079   delete tmp;
00080 }

virtual void CORBA::WrongTransaction::_tao_decode TAO_InputCDR   ACE_ENV_ARG_DECL_NOT_USED [virtual]
 

CORBA::Exception * CORBA::WrongTransaction::_tao_duplicate void    const [virtual]
 

Definition at line 103 of file WrongTransactionC.cpp.

References ACE_NEW_RETURN.

00104 {
00105   CORBA::Exception *result;
00106   ACE_NEW_RETURN (
00107       result,
00108       CORBA::WrongTransaction (*this),
00109       0
00110     );
00111   return result;
00112 }

virtual void CORBA::WrongTransaction::_tao_encode TAO_OutputCDR   ACE_ENV_ARG_DECL_NOT_USED const [virtual]
 

TAO_NAMESPACE_END CORBA::TypeCode_ptr CORBA::WrongTransaction::_type void    const [virtual]
 

Definition at line 183 of file WrongTransactionC.cpp.

00184 {
00185   return ::CORBA::_tc_WrongTransaction;
00186 }

WrongTransaction& CORBA::WrongTransaction::operator= const WrongTransaction &   
 


The documentation for this exception was generated from the following files:
Generated on Mon Jun 16 15:59:34 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002