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
virtual void _raise (void) const
virtual void _tao_encode (TAO_OutputCDR &cdr) const
virtual void _tao_decode (TAO_InputCDR &cdr)

Static Public Member Functions

Bounds_downcast (CORBA::Exception *ex)
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.

Definition at line 75 of file TypeCode.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 222 of file TypeCode.cpp.

00223   : CORBA::UserException ("IDL:omg.org/CORBA/TypeCode/Bounds:1.0",
00224                           "Bounds")
00225 {
00226 }


Member Function Documentation

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

Definition at line 235 of file TypeCode.cpp.

References ACE_NEW_RETURN.

00236 {
00237   CORBA::Exception *retval = 0;
00238   ACE_NEW_RETURN (retval, ::CORBA::TypeCode::Bounds, 0);
00239   return retval;
00240 }

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

Reimplemented from CORBA::UserException.

Definition at line 229 of file TypeCode.cpp.

00230 {
00231    return dynamic_cast <CORBA::TypeCode::Bounds*> (ex);
00232 }

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

Implements CORBA::UserException.

Definition at line 253 of file TypeCode.cpp.

00254 {
00255   throw *this;
00256 }

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

Implements CORBA::Exception.

Definition at line 270 of file TypeCode.cpp.

00271 {
00272 }

CORBA::Exception * CORBA::TypeCode::Bounds::_tao_duplicate void   )  const [virtual]
 

Implements CORBA::Exception.

Definition at line 243 of file TypeCode.cpp.

References ACE_NEW_RETURN.

00244 {
00245   CORBA::Exception *result;
00246   ACE_NEW_RETURN (result,
00247                   CORBA::TypeCode::Bounds (*this),
00248                   0);
00249   return result;
00250 }

void CORBA::TypeCode::Bounds::_tao_encode TAO_OutputCDR cdr  )  const [virtual]
 

Implements CORBA::Exception.

Definition at line 259 of file TypeCode.cpp.

References CORBA::Exception::_rep_id().

00260 {
00261   if (cdr << this->_rep_id ())
00262     {
00263       return;
00264     }
00265 
00266   throw ::CORBA::MARSHAL ();
00267 }


The documentation for this class was generated from the following files:
Generated on Sun Jan 27 13:22:03 2008 for TAO_AnyTypeCode by doxygen 1.3.6