TAO
2.0.3
|
#include <PolicyC.h>
Public Member Functions | |
PolicyError (void) | |
PolicyError (const PolicyError &) | |
~PolicyError (void) | |
PolicyError & | operator= (const PolicyError &) |
virtual CORBA::Exception * | _tao_duplicate (void) const |
Deep copy. | |
virtual void | _raise (void) const |
virtual void | _tao_encode (TAO_OutputCDR &) const |
virtual void | _tao_decode (TAO_InputCDR &) |
PolicyError (::CORBA::PolicyErrorCode _tao_reason) | |
virtual CORBA::TypeCode_ptr | _tao_type (void) const |
Will be overridden in the concrete derived classes. | |
![]() | |
UserException (UserException const &rhs) | |
Copy constructor. | |
virtual | ~UserException (void) |
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 (void) const |
![]() | |
Exception (const Exception &src) | |
Copy constructor. | |
virtual | ~Exception (void) |
Destructor. | |
virtual const char * | _rep_id (void) const |
Return the repository ID of the Exception. | |
virtual const char * | _name (void) 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 *) |
Used in the non-copying Any insertion operator. | |
static PolicyError * | _downcast (CORBA::Exception *) |
The narrow operation. | |
static const PolicyError * | _downcast (CORBA::Exception const *) |
The const version of narrow operation. | |
static CORBA::Exception * | _alloc (void) |
Public Attributes | |
CORBA::PolicyErrorCode | reason |
Additional Inherited Members | |
![]() | |
UserException (void) | |
Default constructor. | |
![]() | |
Exception (void) | |
Default constructor. | |
Exception & | operator= (const Exception &src) |
Assignment operator. | |
Exception (const char *repository_id, const char *local_name) | |
Construct from a repository id. |
CORBA::PolicyError::PolicyError | ( | void | ) |
CORBA::PolicyError::PolicyError | ( | const PolicyError & | ) |
CORBA::PolicyError::~PolicyError | ( | void | ) |
CORBA::PolicyError::PolicyError | ( | ::CORBA::PolicyErrorCode | _tao_reason | ) |
|
static |
|
static |
The narrow operation.
Reimplemented from CORBA::UserException.
|
static |
The const version of narrow operation.
Reimplemented from CORBA::UserException.
|
virtual |
Implements CORBA::UserException.
|
static |
Used in the non-copying Any insertion operator.
Reimplemented from CORBA::Exception.
|
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: virtual CORBA::Exception *_tao_duplicate (void) const { CORBA::Exception *result = 0; ACE_NEW_RETURN ( result, SomeException (*this), 0 ); return result; } };
Implements CORBA::Exception.
|
virtual |
Implements CORBA::Exception.
|
virtual |
Will be overridden in the concrete derived classes.
Reimplemented from CORBA::UserException.
CORBA::PolicyError & CORBA::PolicyError::operator= | ( | const PolicyError & | ) |
CORBA::PolicyErrorCode CORBA::PolicyError::reason |