TAO
2.3.3
|
Application- or OMG- defined CORBA exception sub-class. More...
#include <UserException.h>
Public Member Functions | |
UserException (UserException const &rhs) | |
Copy constructor. More... | |
virtual | ~UserException (void) |
Destructor. More... | |
UserException & | operator= (UserException const &rhs) |
Assignment operator. More... | |
virtual void | _raise (void) const =0 |
virtual CORBA::TypeCode_ptr | _tao_type (void) const |
Will be overridden in the concrete derived classes. 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... | |
virtual void | _tao_encode (TAO_OutputCDR &cdr) const =0 |
virtual void | _tao_decode (TAO_InputCDR &cdr)=0 |
virtual CORBA::Exception * | _tao_duplicate (void) const =0 |
Deep copy. More... | |
Static Public Member Functions | |
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... | |
Protected Member Functions | |
UserException (void) | |
Default constructor. More... | |
Protected Member Functions inherited from CORBA::Exception | |
Exception (void) | |
Default constructor. More... | |
Exception & | operator= (const Exception &src) |
Assignment operator. More... | |
Exception (const char *repository_id, const char *local_name) | |
Construct from a repository id. More... | |
Application- or OMG- defined CORBA exception sub-class.
User exceptions can be defined in application OMG IDL or by the OMG itself for IDL interfaces and services it defines.
CORBA::UserException::UserException | ( | CORBA::UserException const & | rhs | ) |
Copy constructor.
|
virtual |
Destructor.
CORBA::UserException::UserException | ( | char const * | repository_id, |
char const * | local_name | ||
) |
Constructor from a repository id.
|
protected |
Default constructor.
|
static |
The narrow operation.
|
static |
The const version of narrow operation.
|
virtual |
Returns a string containing information about the exception. This function is not CORBA compliant.
Implements CORBA::Exception.
|
pure virtual |
Implements CORBA::Exception.
Implemented in CORBA::ORB::InvalidName, and CORBA::WrongTransaction.
|
virtual |
Will be overridden in the concrete derived classes.
Implements CORBA::Exception.
Reimplemented in CORBA::WrongTransaction.
CORBA::UserException & CORBA::UserException::operator= | ( | CORBA::UserException const & | rhs | ) |
Assignment operator.