TAO_DynamicInterface 4.0.0
|
#include <Unknown_User_Exception.h>
Public Member Functions | |
UnknownUserException () | |
Constructor. | |
UnknownUserException (CORBA::Any &exception) | |
Constructor. | |
UnknownUserException (const UnknownUserException &e) | |
Copy constructor. | |
virtual | ~UnknownUserException () |
Destructor. | |
CORBA::Any & | exception () |
Return the any containing the user exception. | |
virtual void | _raise () const |
To throw an UnknownUserException of this type. | |
virtual CORBA::Exception * | _tao_duplicate () const |
virtual void | _tao_encode (TAO_OutputCDR &cdr) const |
virtual void | _tao_decode (TAO_InputCDR &cdr) |
virtual const char * | _rep_id () const |
Return the repository ID of the Exception. | |
virtual CORBA::TypeCode_ptr | _tao_type () const |
This class has a specific typecode. | |
![]() | |
UserException (UserException const &rhs) | |
virtual | ~UserException ()=default |
UserException & | operator= (UserException const &rhs) |
UserException (char const *repository_id, char const *local_name) | |
virtual ACE_CString | _info () const |
![]() | |
Exception (const Exception &src) | |
virtual | ~Exception ()=default |
virtual const char * | _name () const |
void | _tao_print_exception (const char *info, FILE *f=stdout) const |
Static Public Member Functions | |
static UnknownUserException * | _downcast (CORBA::Exception *ex) |
Narrow to an UnknowUserException. | |
static UnknownUserException const * | _downcast (CORBA::Exception const *ex) |
![]() | |
static UserException * | _downcast (CORBA::Exception *exception) |
static const UserException * | _downcast (CORBA::Exception const *exception) |
![]() | |
static Exception * | _downcast (Exception *x) |
static Exception const * | _downcast (Exception const *x) |
static void | _tao_any_destructor (void *) |
Private Attributes | |
CORBA::Any * | exception_ |
Holder for the actual exception. | |
Additional Inherited Members | |
![]() | |
UserException () | |
![]() | |
Exception ()=default | |
Exception & | operator= (const Exception &src) |
Exception (const char *repository_id, const char *local_name) | |
When user exceptions are received by a DII invocation the ORB is unable to create the exception with the right dynamic type; to workaround this problem it throws a CORBA::UnknownUserException
that contains the exception inside an Any.
CORBA::UnknownUserException::UnknownUserException | ( | ) |
Constructor.
CORBA::UnknownUserException::UnknownUserException | ( | CORBA::Any & | exception | ) |
Constructor.
CORBA::UnknownUserException::UnknownUserException | ( | const UnknownUserException & | e | ) |
Copy constructor.
|
virtual |
Destructor.
|
static |
Narrow to an UnknowUserException.
|
static |
|
virtual |
To throw an UnknownUserException of this type.
Implements CORBA::UserException.
|
virtual |
Return the repository ID of the Exception.
Reimplemented from CORBA::Exception.
|
virtual |
Implements CORBA::Exception.
|
virtual |
Implements CORBA::Exception.
|
virtual |
Implements CORBA::Exception.
|
virtual |
This class has a specific typecode.
Reimplemented from CORBA::UserException.
CORBA::Any & CORBA::UnknownUserException::exception | ( | ) |
Return the any containing the user exception.
|
private |
Holder for the actual exception.