Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CORBA::TypeCode::BadKind Class Reference

Invalid TypeCode operation exception. More...

#include <TypeCode.h>

Inheritance diagram for CORBA::TypeCode::BadKind:

Inheritance graph
[legend]
Collaboration diagram for CORBA::TypeCode::BadKind:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BadKind (void)
virtual CORBA::Exception_tao_duplicate (void) const
 Deep copy.
virtual void _raise (void) const
virtual void _tao_encode (TAO_OutputCDR &cdr ACE_ENV_ARG_DECL) const
virtual void _tao_decode (TAO_InputCDR &cdr ACE_ENV_ARG_DECL)

Static Public Member Functions

BadKind_downcast (CORBA::Exception *ex)
 The narrow operation.
CORBA::Exception_alloc (void)

Detailed Description

Invalid TypeCode operation exception.

Exception thrown when attempting to invoke a TypeCode operation that is not valid for the type represented by the TypeCode.


Constructor & Destructor Documentation

CORBA::TypeCode::BadKind::BadKind void   ) 
 


Member Function Documentation

CORBA::Exception* CORBA::TypeCode::BadKind::_alloc void   )  [static]
 

CORBA::TypeCode::BadKind * CORBA::TypeCode::BadKind::_downcast CORBA::Exception ex  )  [static]
 

The narrow operation.

Reimplemented from CORBA::UserException.

void CORBA::TypeCode::BadKind::_raise void   )  const [virtual]
 

Implements CORBA::UserException.

virtual void CORBA::TypeCode::BadKind::_tao_decode TAO_InputCDR &cdr  ACE_ENV_ARG_DECL  )  [virtual]
 

Implements CORBA::Exception.

CORBA::Exception * CORBA::TypeCode::BadKind::_tao_duplicate void   )  const [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
   {
     return new SomeException (*this);
   }
 };
 

Implements CORBA::Exception.

void CORBA::TypeCode::BadKind::_tao_encode TAO_OutputCDR &cdr  ACE_ENV_ARG_DECL  )  const [virtual]
 

Implements CORBA::Exception.


The documentation for this class was generated from the following files:
Generated on Thu Jun 9 00:18:38 2005 for TAO by  doxygen 1.3.9.1