#include <ORB.h>
Public Member Functions | |
InvalidName (void) | |
InvalidName (const InvalidName &) | |
~InvalidName (void) | |
InvalidName & | operator= (const InvalidName &) |
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 &) |
Static Public Member Functions | |
static InvalidName * | _downcast (CORBA::Exception *) |
The narrow operation. | |
static CORBA::Exception * | _alloc (void) |
Definition at line 166 of file ORB.h.
CORBA::ORB::InvalidName::InvalidName | ( | void | ) |
Definition at line 55 of file ORB.cpp.
: CORBA::UserException ("IDL:omg.org/CORBA/ORB/InvalidName:1.0", "InvalidName") { }
CORBA::ORB::InvalidName::InvalidName | ( | const InvalidName & | exc | ) |
Definition at line 67 of file ORB.cpp.
: CORBA::UserException (exc._rep_id (), exc._name ()) { }
CORBA::Exception * CORBA::ORB::InvalidName::_alloc | ( | void | ) | [static] |
Definition at line 87 of file ORB.cpp.
{ CORBA::Exception *retval = 0; ACE_NEW_RETURN (retval, ::CORBA::ORB::InvalidName, 0); return retval; }
CORBA::ORB::InvalidName * CORBA::ORB::InvalidName::_downcast | ( | CORBA::Exception * | exception | ) | [static] |
The narrow operation.
Reimplemented from CORBA::UserException.
Definition at line 82 of file ORB.cpp.
{ return dynamic_cast<InvalidName *> (exc); }
void CORBA::ORB::InvalidName::_raise | ( | void | ) | const [virtual] |
void CORBA::ORB::InvalidName::_tao_decode | ( | TAO_InputCDR & | ) | [virtual] |
CORBA::Exception * CORBA::ORB::InvalidName::_tao_duplicate | ( | void | ) | const [virtual] |
Deep copy.
The following operation is used in the implementation of it performs a deep copy of the exception, normally it is implemented as:
class SomeException : public // Derives from CORBA::Exception { public: virtual CORBA::Exception *_tao_duplicate (void) const { CORBA::Exception *result = 0; ACE_NEW_RETURN ( result, SomeException (*this), 0 ); return result; } };
Implements CORBA::Exception.
Definition at line 95 of file ORB.cpp.
{ CORBA::Exception *result = 0; ACE_NEW_RETURN ( result, ::CORBA::ORB::InvalidName (*this), 0); return result; }
void CORBA::ORB::InvalidName::_tao_encode | ( | TAO_OutputCDR & | ) | const [virtual] |
InvalidName& CORBA::ORB::InvalidName::operator= | ( | const InvalidName & | ) |