TAO 4.0.1
|
UserException for DII requests. More...
import <WrongTransactionC.h;
Public Member Functions | |
WrongTransaction () | |
WrongTransaction (const WrongTransaction &) | |
~WrongTransaction () | |
WrongTransaction & | operator= (const WrongTransaction &) |
virtual CORBA::Exception * | _tao_duplicate () const |
Deep copy. | |
virtual void | _raise () const |
virtual void | _tao_encode (TAO_OutputCDR &) const |
virtual void | _tao_decode (TAO_InputCDR &) |
virtual CORBA::TypeCode_ptr | _tao_type () const |
Will be overridden in the concrete derived classes. | |
![]() | |
UserException (UserException const &rhs) | |
Copy constructor. | |
virtual | ~UserException ()=default |
Destructor. | |
UserException & | operator= (UserException const &rhs) |
Assignment operator. | |
UserException (char const *repository_id, char const *local_name) | |
Constructor from a repository id. | |
virtual ACE_CString | _info () const |
![]() | |
Exception (const Exception &src) | |
Copy constructor. | |
virtual | ~Exception ()=default |
Destructor. | |
virtual const char * | _rep_id () const |
Return the repository ID of the Exception. | |
virtual const char * | _name () const |
Return the name of the Exception. | |
void | _tao_print_exception (const char *info, FILE *f=stdout) const |
Print the exception to output determined by f. | |
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 () |
![]() | |
static UserException * | _downcast (CORBA::Exception *exception) |
The narrow operation. | |
static const UserException * | _downcast (CORBA::Exception const *exception) |
The const version of narrow operation. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
UserException () | |
Default constructor. | |
![]() | |
Exception ()=default | |
Default constructor. | |
Exception & | operator= (const Exception &src) |
Assignment operator. | |
Exception (const char *repository_id, const char *local_name) | |
Construct from a repository id. | |
UserException for DII requests.
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).
CORBA::WrongTransaction::WrongTransaction | ( | ) |
CORBA::WrongTransaction::WrongTransaction | ( | const WrongTransaction & | ) |
CORBA::WrongTransaction::~WrongTransaction | ( | ) |
|
static |
|
static |
|
static |
|
virtual |
Implements CORBA::UserException.
|
static |
|
virtual |
Implements CORBA::Exception.
|
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: CORBA::Exception *_tao_duplicate () override const { CORBA::Exception *result {}; ACE_NEW_RETURN ( result, SomeException (*this), nullptr); return result; } };
Implements CORBA::Exception.
|
virtual |
Implements CORBA::Exception.
|
virtual |
Will be overridden in the concrete derived classes.
Reimplemented from CORBA::UserException.
CORBA::WrongTransaction & CORBA::WrongTransaction::operator= | ( | const WrongTransaction & | ) |