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

CORBA::TypeCode::Bounds Class Reference

Out-of-bounds member index exception. More...

#include <TypeCode.h>

Inheritance diagram for CORBA::TypeCode::Bounds:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Bounds (void)
 Constructor.
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

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

Detailed Description

Out-of-bounds member index exception.

Exception thrown when attempting to pass an out-of-bounds index value to a TypeCode operation that accepts a member index argument.


Constructor & Destructor Documentation

CORBA::TypeCode::Bounds::Bounds void   ) 
 

Constructor.


Member Function Documentation

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

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

The narrow operation.

Reimplemented from CORBA::UserException.

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

Implements CORBA::UserException.

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

Implements CORBA::Exception.

CORBA::Exception * CORBA::TypeCode::Bounds::_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::Bounds::_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 Sun May 15 13:11:11 2005 for TAO by  doxygen 1.3.9.1