#include <Exception.h>
Inheritance diagram for CORBA_Exception:

Public Methods | |
| CORBA_Exception (const CORBA_Exception &src) | |
| Copy constructor. More... | |
| CORBA_Exception & | operator= (const CORBA_Exception &src) |
| Assignment operator. More... | |
| virtual | ~CORBA_Exception (void) |
| Destructor. More... | |
| virtual void | _raise (void)=0 |
| const char * | _rep_id (void) const |
| Return the repository ID of the Exception. More... | |
| const char * | _name (void) const |
| Return the name of the Exception. More... | |
| virtual CORBA::TypeCode_ptr | _type (void) const |
| Will be overridden in the concrete derived classes. More... | |
| virtual int | _is_a (const char *repository_id) const |
| CORBA_Exception (const char *repository_id, const char *local_name) | |
| Constructor from a respository id. More... | |
| void | _tao_print_exception (const char *info, FILE *f=stdout) const |
| Print the exception <ex> to output determined by <f>. This function is not CORBA compliant. More... | |
| virtual ACE_CString | _info (void) const=0 |
| Returns a string containing information about the exception. This function is not CORBA compliant. More... | |
| virtual void | _tao_encode (TAO_OutputCDR &cdr ACE_ENV_ARG_DECL_NOT_USED) const=0 |
| virtual void | _tao_decode (TAO_InputCDR &cdr ACE_ENV_ARG_DECL_NOT_USED)=0 |
| virtual CORBA_Exception * | _tao_duplicate (void) const=0 |
| Deep copy. More... | |
Static Public Methods | |
| CORBA_Exception * | _downcast (CORBA_Exception *x) |
| void | _tao_any_destructor (void *) |
| Used in the non-copying Any insertion operator. More... | |
Protected Methods | |
| CORBA_Exception (void) | |
Private Attributes | |
| char * | id_ |
| Storage of our repository id and local name. More... | |
| char * | name_ |
CORBA2-specified exception hierarchy. All exceptions have a type (represented by a TypeCode) and a widely scoped type ID (in the TypeCode) that generated by any OMG-IDL compiler and available through the Interface Repositories. Think of it as a "globally scoped" name distinguishing each exception.
|
|
Copy constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
Constructor from a respository id.
|
|
|
|
|
|
Reimplemented in CORBA_UserException, CORBA_SystemException, CORBA_TypeCode::Bounds, and CORBA_TypeCode::BadKind. |
|
|
Returns a string containing information about the exception. This function is not CORBA compliant.
Reimplemented in CORBA_UserException, and CORBA_SystemException. |
|
|
Reimplemented in CORBA_UserException, and CORBA_SystemException. |
|
|
Return the name of the Exception.
|
|
|
Reimplemented in CORBA_TypeCode::Bounds, and CORBA_TypeCode::BadKind. |
|
|
Return the repository ID of the Exception.
|
|
|
Used in the non-copying Any insertion operator.
|
|
|
Reimplemented in CORBA_SystemException, CORBA_TypeCode::Bounds, and CORBA_TypeCode::BadKind. |
|
|
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
{
return new SomeException (*this);
}
};
Reimplemented in CORBA_TypeCode::Bounds, and CORBA_TypeCode::BadKind. |
|
|
Reimplemented in CORBA_SystemException, CORBA_TypeCode::Bounds, and CORBA_TypeCode::BadKind. |
|
||||||||||||
|
Print the exception <ex> to output determined by <f>. This function is not CORBA compliant.
|
|
|
Will be overridden in the concrete derived classes.
|
|
|
Assignment operator.
|
|
|
Storage of our repository id and local name.
|
|
|
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001