TypeCode
operation exception.
More...
#include <TypeCode.h>
Inheritance diagram for CORBA::TypeCode::BadKind:
Public Member Functions | |
BadKind (void) | |
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 | |
static BadKind * | _downcast (CORBA::Exception *ex) |
static CORBA::Exception * | _alloc (void) |
TypeCode
operation exception.
Exception thrown when attempting to invoke a TypeCode
operation that is not valid for the type represented by the TypeCode
.
Definition at line 102 of file TypeCode.h.
CORBA::TypeCode::BadKind::BadKind | ( | void | ) |
Definition at line 276 of file TypeCode.cpp.
00277 : CORBA::UserException ("IDL:omg.org/CORBA/TypeCode/BadKind:1.0", 00278 "BadKind") 00279 { 00280 }
static CORBA::Exception* CORBA::TypeCode::BadKind::_alloc | ( | void | ) | [static] |
CORBA::TypeCode::BadKind * CORBA::TypeCode::BadKind::_downcast | ( | CORBA::Exception * | ex | ) | [static] |
void CORBA::TypeCode::BadKind::_raise | ( | void | ) | const [virtual] |
void CORBA::TypeCode::BadKind::_tao_decode | ( | TAO_InputCDR & | cdr | ) | [virtual] |
CORBA::Exception * CORBA::TypeCode::BadKind::_tao_duplicate | ( | void | ) | const [virtual] |
Implements CORBA::Exception.
Definition at line 289 of file TypeCode.cpp.
References ACE_NEW_RETURN.
00290 { 00291 CORBA::Exception *result = 0; 00292 ACE_NEW_RETURN (result, 00293 CORBA::TypeCode::BadKind (*this), 00294 0); 00295 return result; 00296 }
void CORBA::TypeCode::BadKind::_tao_encode | ( | TAO_OutputCDR & | cdr | ) | const [virtual] |
Implements CORBA::Exception.
Definition at line 305 of file TypeCode.cpp.
00306 { 00307 if (cdr << this->_rep_id ()) 00308 { 00309 return; 00310 } 00311 00312 throw ::CORBA::MARSHAL (); 00313 }