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 | |
BadKind * | _downcast (CORBA::Exception *ex) |
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.
|
Definition at line 276 of file TypeCode.cpp.
00277 : CORBA::UserException ("IDL:omg.org/CORBA/TypeCode/BadKind:1.0", 00278 "BadKind") 00279 { 00280 } |
|
|
|
Reimplemented from CORBA::UserException. Definition at line 283 of file TypeCode.cpp.
00284 {
00285 return dynamic_cast <CORBA::TypeCode::BadKind*> (ex);
00286 }
|
|
Implements CORBA::UserException. Definition at line 299 of file TypeCode.cpp.
00300 { 00301 throw *this; 00302 } |
|
Implements CORBA::Exception. Definition at line 316 of file TypeCode.cpp.
00317 { 00318 } |
|
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 } |
|
Implements CORBA::Exception. Definition at line 305 of file TypeCode.cpp. References CORBA::Exception::_rep_id().
00306 { 00307 if (cdr << this->_rep_id ()) 00308 { 00309 return; 00310 } 00311 00312 throw ::CORBA::MARSHAL (); 00313 } |