import "Policy.pidl";
Inheritance diagram for CORBA::InvalidPolicies:
Public Member Functions | |
InvalidPolicies (void) | |
InvalidPolicies (const InvalidPolicies &) | |
~InvalidPolicies (void) | |
InvalidPolicies & | operator= (const InvalidPolicies &) |
virtual CORBA::Exception * | _tao_duplicate (void) const |
Deep copy. | |
virtual void | _raise (void) const |
virtual void | _tao_encode (TAO_OutputCDR &) const |
virtual void | _tao_decode (TAO_InputCDR &) |
InvalidPolicies (const::CORBA::UShortSeq &_tao_indices) | |
virtual CORBA::TypeCode_ptr | _tao_type (void) const |
Will be overridden in the concrete derived classes. | |
Static Public Member Functions | |
void | _tao_any_destructor (void *) |
Used in the non-copying Any insertion operator. | |
InvalidPolicies * | _downcast (CORBA::Exception *) |
The narrow operation. | |
const InvalidPolicies * | _downcast (CORBA::Exception const *) |
The const version of narrow operation. | |
CORBA::Exception * | _alloc (void) |
Public Attributes | |
UShortSeq | indices |
CORBA::UShortSeq | indices |
|
Definition at line 232 of file PolicyC.cpp.
00233 : CORBA::UserException ( 00234 "IDL:omg.org/CORBA/InvalidPolicies:1.0", 00235 "InvalidPolicies" 00236 ) 00237 { 00238 } |
|
|
|
Definition at line 240 of file PolicyC.cpp.
00241 { 00242 } |
|
|
|
Definition at line 280 of file PolicyC.cpp. References ACE_NEW_RETURN.
00281 { 00282 CORBA::Exception *retval = 0; 00283 ACE_NEW_RETURN (retval, ::CORBA::InvalidPolicies, 0); 00284 return retval; 00285 } |
|
The const version of narrow operation.
Reimplemented from CORBA::UserException. Definition at line 275 of file PolicyC.cpp.
00276 {
00277 return dynamic_cast<const InvalidPolicies *> (_tao_excp);
00278 }
|
|
The narrow operation.
Reimplemented from CORBA::UserException. Definition at line 269 of file PolicyC.cpp.
00270 {
00271 return dynamic_cast<InvalidPolicies *> (_tao_excp);
00272 }
|
|
Implements CORBA::UserException. Definition at line 299 of file PolicyC.cpp.
00300 { 00301 throw *this; 00302 } |
|
Used in the non-copying Any insertion operator.
Reimplemented from CORBA::Exception. Definition at line 261 of file PolicyC.cpp.
00262 { 00263 InvalidPolicies *_tao_tmp_pointer = 00264 static_cast<InvalidPolicies *> (_tao_void_pointer); 00265 delete _tao_tmp_pointer; 00266 } |
|
Implements CORBA::Exception. Definition at line 314 of file PolicyC.cpp.
00315 { 00316 if (cdr >> *this) 00317 { 00318 return; 00319 } 00320 00321 throw ::CORBA::MARSHAL (); 00322 } |
|
Deep copy. The following operation is used in the implementation of it performs a deep copy of the exception, normally it is implemented as:
|
|
Implements CORBA::Exception. Definition at line 304 of file PolicyC.cpp.
00305 { 00306 if (cdr << *this) 00307 { 00308 return; 00309 } 00310 00311 throw ::CORBA::MARSHAL (); 00312 } |
|
Will be overridden in the concrete derived classes.
Reimplemented from CORBA::UserException. Definition at line 341 of file PolicyC.cpp. References ACE_ERROR, ACE_TEXT, ACE_Dynamic_Service< TYPE >::instance(), LM_ERROR, and CORBA::TypeCode_ptr.
00342 { 00343 TAO_AnyTypeCode_Adapter *adapter = 00344 ACE_Dynamic_Service<TAO_AnyTypeCode_Adapter>::instance ( 00345 "AnyTypeCode_Adapter" 00346 ); 00347 if (adapter != 0) 00348 return adapter->_tao_type_InvalidPolicies (); 00349 else 00350 { 00351 ACE_ERROR ((LM_ERROR, 00352 ACE_TEXT ("(%P|%t) %p\n"), 00353 ACE_TEXT ("Unable to find the ") 00354 ACE_TEXT ("AnyTypeCode Adapter instance"))); 00355 return 0; 00356 } 00357 } |
|
|
|
|
|
Definition at line 69 of file Policy.pidl. Referenced by operator<<(), and operator>>(). |