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

00065   : CORBA::UserException ("IDL:omg.org/CORBA/ORB/InvalidName:1.0",
00066                           "InvalidName")
00067 {
00068 }

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

Definition at line 76 of file ORB.cpp.

00077   : CORBA::UserException (exc._rep_id (),
00078                           exc._name ())
00079 {
00080 }

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

Definition at line 71 of file ORB.cpp.

00072 {
00073 }


Member Function Documentation

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

Definition at line 96 of file ORB.cpp.

References ACE_NEW_RETURN.

00097 {
00098   CORBA::Exception *retval = 0;
00099   ACE_NEW_RETURN (retval, ::CORBA::ORB::InvalidName, 0);
00100   return retval;
00101 }

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

The narrow operation.

Reimplemented from CORBA::UserException.

Definition at line 91 of file ORB.cpp.

00092 {
00093   return dynamic_cast<InvalidName *> (exc);
00094 }

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

Implements CORBA::UserException.

Definition at line 114 of file ORB.cpp.

00115 {
00116   throw *this;
00117 }

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

Implements CORBA::Exception.

Definition at line 124 of file ORB.cpp.

00125 {
00126   throw ::CORBA::MARSHAL ();
00127 }

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

References ACE_NEW_RETURN.

00105 {
00106   CORBA::Exception *result = 0;
00107   ACE_NEW_RETURN (
00108       result,
00109       ::CORBA::ORB::InvalidName (*this),
00110       0);
00111   return result;
00112 }

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

Implements CORBA::Exception.

Definition at line 119 of file ORB.cpp.

00120 {
00121   throw ::CORBA::MARSHAL ();
00122 }

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


The documentation for this exception was generated from the following files:
Generated on Sun Jan 27 13:17:15 2008 for TAO by doxygen 1.3.6