CORBA::ORB::InvalidName Exception Reference

UserException for resolve_initial_references(). More...

import "InvalidName.pidl";

Inheritance diagram for CORBA::ORB::InvalidName:

Inheritance graph
[legend]
Collaboration diagram for CORBA::ORB::InvalidName:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 InvalidName (void)
 InvalidName (const InvalidName &)
 ~InvalidName (void)
InvalidNameoperator= (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

InvalidName_downcast (CORBA::Exception *)
 The narrow operation.

CORBA::Exception_alloc (void)

Detailed Description

UserException for resolve_initial_references().

Exceptions:
InvalidName 
This exception is thrown if an 'invalid name' is passed to the CORBA::ORB::resolve_initial_references() operation.

Definition at line 49 of file InvalidName.pidl.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL CORBA::ORB::InvalidName::InvalidName void   ) 
 

Definition at line 70 of file ORB.cpp.

00071   : CORBA::UserException ("IDL:omg.org/CORBA/ORB/InvalidName:1.0",
00072                           "InvalidName")
00073 {
00074 }

CORBA::ORB::InvalidName::InvalidName const InvalidName  ) 
 

Definition at line 82 of file ORB.cpp.

00083   : CORBA::UserException (exc._rep_id (),
00084                           exc._name ())
00085 {
00086 }

CORBA::ORB::InvalidName::~InvalidName void   ) 
 

Definition at line 77 of file ORB.cpp.

00078 {
00079 }


Member Function Documentation

CORBA::Exception * CORBA::ORB::InvalidName::_alloc void   )  [static]
 

Definition at line 102 of file ORB.cpp.

References ACE_NEW_RETURN.

00103 {
00104   CORBA::Exception *retval = 0;
00105   ACE_NEW_RETURN (retval, ::CORBA::ORB::InvalidName, 0);
00106   return retval;
00107 }

CORBA::ORB::InvalidName * CORBA::ORB::InvalidName::_downcast CORBA::Exception  )  [static]
 

The narrow operation.

Reimplemented from CORBA::UserException.

Definition at line 97 of file ORB.cpp.

00098 {
00099   return dynamic_cast<InvalidName *> (exc);
00100 }

void CORBA::ORB::InvalidName::_raise void   )  const [virtual]
 

Implements CORBA::UserException.

Definition at line 121 of file ORB.cpp.

References TAO_RAISE.

00122 {
00123   TAO_RAISE (*this);
00124 }

void CORBA::ORB::InvalidName::_tao_decode TAO_InputCDR  )  [virtual]
 

Implements CORBA::Exception.

Definition at line 134 of file ORB.cpp.

References ACE_THROW.

00138 {
00139   ACE_THROW (CORBA::MARSHAL ());
00140 }

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 110 of file ORB.cpp.

References ACE_NEW_RETURN.

00111 {
00112   CORBA::Exception *result = 0;
00113   ACE_NEW_RETURN (
00114       result,
00115       ::CORBA::ORB::InvalidName (*this),
00116       0
00117     );
00118   return result;
00119 }

void CORBA::ORB::InvalidName::_tao_encode TAO_OutputCDR  )  const [virtual]
 

Implements CORBA::Exception.

Definition at line 126 of file ORB.cpp.

References ACE_THROW.

00130 {
00131   ACE_THROW (CORBA::MARSHAL ());
00132 }

InvalidName& CORBA::ORB::InvalidName::operator= const InvalidName  ) 
 


The documentation for this exception was generated from the following files:
Generated on Thu Nov 9 12:24:52 2006 for TAO by doxygen 1.3.6