TAO  2.4.0
Public Member Functions | Static Public Member Functions | List of all members
CORBA::WrongTransaction Class Reference

UserException for DII requests. More...

import"WrongTransactionC.h";

Inheritance diagram for CORBA::WrongTransaction:
Inheritance graph
[legend]
Collaboration diagram for CORBA::WrongTransaction:
Collaboration graph
[legend]

Public Member Functions

 WrongTransaction (void)
 
 WrongTransaction (const WrongTransaction &)
 
 ~WrongTransaction (void)
 
WrongTransactionoperator= (const WrongTransaction &)
 
virtual CORBA::Exception_tao_duplicate (void) const
 Deep copy. More...
 
virtual void _raise (void) const
 
virtual void _tao_encode (TAO_OutputCDR &) const
 
virtual void _tao_decode (TAO_InputCDR &)
 
virtual CORBA::TypeCode_ptr _tao_type (void) const
 Will be overridden in the concrete derived classes. More...
 
- Public Member Functions inherited from CORBA::UserException
 UserException (UserException const &rhs)
 Copy constructor. More...
 
virtual ~UserException (void)
 Destructor. More...
 
UserExceptionoperator= (UserException const &rhs)
 Assignment operator. More...
 
 UserException (char const *repository_id, char const *local_name)
 Constructor from a repository id. More...
 
virtual ACE_CString _info (void) const
 
- Public Member Functions inherited from CORBA::Exception
 Exception (const Exception &src)
 Copy constructor. More...
 
virtual ~Exception (void)
 Destructor. More...
 
virtual const char * _rep_id (void) const
 Return the repository ID of the Exception. More...
 
virtual const char * _name (void) const
 Return the name of the Exception. More...
 
void _tao_print_exception (const char *info, FILE *f=stdout) const
 Print the exception to output determined by f. More...
 

Static Public Member Functions

static void _tao_any_destructor (void *)
 
static WrongTransaction_downcast (CORBA::Exception *)
 
static const WrongTransaction_downcast (CORBA::Exception const *)
 
static CORBA::Exception_alloc (void)
 
- Static Public Member Functions inherited from CORBA::UserException
static UserException_downcast (CORBA::Exception *exception)
 The narrow operation. More...
 
static const UserException_downcast (CORBA::Exception const *exception)
 The const version of narrow operation. More...
 
- Static Public Member Functions inherited from CORBA::Exception
static Exception_downcast (Exception *x)
 
static Exception const * _downcast (Exception const *x)
 
static void _tao_any_destructor (void *)
 Used in the non-copying Any insertion operator. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CORBA::UserException
 UserException (void)
 Default constructor. More...
 
- Protected Member Functions inherited from CORBA::Exception
 Exception (void)
 Default constructor. More...
 
Exceptionoperator= (const Exception &src)
 Assignment operator. More...
 
 Exception (const char *repository_id, const char *local_name)
 Construct from a repository id. More...
 

Detailed Description

UserException for DII requests.

Exceptions
WrongTransactionThis 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).

Constructor & Destructor Documentation

CORBA::WrongTransaction::WrongTransaction ( void  )
CORBA::WrongTransaction::WrongTransaction ( const WrongTransaction )
CORBA::WrongTransaction::~WrongTransaction ( void  )

Member Function Documentation

CORBA::Exception * CORBA::WrongTransaction::_alloc ( void  )
static
CORBA::WrongTransaction * CORBA::WrongTransaction::_downcast ( CORBA::Exception _tao_excp)
static
const CORBA::WrongTransaction * CORBA::WrongTransaction::_downcast ( CORBA::Exception const *  _tao_excp)
static
void CORBA::WrongTransaction::_raise ( void  ) const
virtual

Implements CORBA::UserException.

void CORBA::WrongTransaction::_tao_any_destructor ( void *  _tao_void_pointer)
static
void CORBA::WrongTransaction::_tao_decode ( TAO_InputCDR cdr)
virtual

Implements CORBA::Exception.

CORBA::Exception * CORBA::WrongTransaction::_tao_duplicate ( void  ) const
virtual

Deep copy.

The following operation is used in the implementation of it performs a deep copy of the exception, normally it is implemented as:

class SomeException : public // Derives from CORBA::Exception
{
public:
  virtual CORBA::Exception *_tao_duplicate (void) const
  {
    CORBA::Exception *result = 0;
    ACE_NEW_RETURN (
        result,
        SomeException (*this),
        0
      );
    return result;
  }
};

Implements CORBA::Exception.

void CORBA::WrongTransaction::_tao_encode ( TAO_OutputCDR cdr) const
virtual

Implements CORBA::Exception.

CORBA::TypeCode_ptr CORBA::WrongTransaction::_tao_type ( void  ) const
virtual

Will be overridden in the concrete derived classes.

Reimplemented from CORBA::UserException.

CORBA::WrongTransaction & CORBA::WrongTransaction::operator= ( const WrongTransaction )

The documentation for this class was generated from the following files: