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 236 of file PolicyC.cpp.
00237 : CORBA::UserException ( 00238 "IDL:omg.org/CORBA/InvalidPolicies:1.0", 00239 "InvalidPolicies" 00240 ) 00241 { 00242 } |
|
|
|
Definition at line 244 of file PolicyC.cpp.
00245 { 00246 } |
|
|
|
Definition at line 284 of file PolicyC.cpp. References ACE_NEW_RETURN.
00285 { 00286 CORBA::Exception *retval = 0; 00287 ACE_NEW_RETURN (retval, ::CORBA::InvalidPolicies, 0); 00288 return retval; 00289 } |
|
The const version of narrow operation.
Reimplemented from CORBA::UserException. Definition at line 279 of file PolicyC.cpp.
00280 {
00281 return dynamic_cast<const InvalidPolicies *> (_tao_excp);
00282 }
|
|
The narrow operation.
Reimplemented from CORBA::UserException. Definition at line 273 of file PolicyC.cpp.
00274 {
00275 return dynamic_cast<InvalidPolicies *> (_tao_excp);
00276 }
|
|
Implements CORBA::UserException. Definition at line 303 of file PolicyC.cpp. References TAO_RAISE.
00304 { 00305 TAO_RAISE (*this); 00306 } |
|
Used in the non-copying Any insertion operator.
Reimplemented from CORBA::Exception. Definition at line 265 of file PolicyC.cpp.
00266 { 00267 InvalidPolicies *_tao_tmp_pointer = 00268 static_cast<InvalidPolicies *> (_tao_void_pointer); 00269 delete _tao_tmp_pointer; 00270 } |
|
Implements CORBA::Exception. Definition at line 321 of file PolicyC.cpp. References ACE_THROW.
00325 { 00326 if (cdr >> *this) 00327 { 00328 return; 00329 } 00330 00331 ACE_THROW (CORBA::MARSHAL ()); 00332 } |
|
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 308 of file PolicyC.cpp. References ACE_THROW.
00312 { 00313 if (cdr << *this) 00314 { 00315 return; 00316 } 00317 00318 ACE_THROW (CORBA::MARSHAL ()); 00319 } |
|
Will be overridden in the concrete derived classes.
Reimplemented from CORBA::UserException. Definition at line 351 of file PolicyC.cpp. References ACE_ERROR, ACE_TEXT, ACE_Dynamic_Service< TYPE >::instance(), LM_ERROR, and CORBA::TypeCode_ptr.
00352 { 00353 TAO_AnyTypeCode_Adapter *adapter = 00354 ACE_Dynamic_Service<TAO_AnyTypeCode_Adapter>::instance ( 00355 "AnyTypeCode_Adapter" 00356 ); 00357 if (adapter != 0) 00358 return adapter->_tao_type_InvalidPolicies (); 00359 else 00360 { 00361 ACE_ERROR ((LM_ERROR, 00362 ACE_TEXT ("(%P|%t) %p\n"), 00363 ACE_TEXT ("Unable to find the ") 00364 ACE_TEXT ("AnyTypeCode Adapter instance"))); 00365 return 0; 00366 } 00367 } |
|
|
|
|
|
Definition at line 69 of file Policy.pidl. Referenced by operator<<(), and operator>>(). |