CORBA::ORB::InvalidName Class Reference

#include <ORB.h>

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

static InvalidName_downcast (CORBA::Exception *)
 The narrow operation.
static CORBA::Exception_alloc (void)

Detailed Description

Definition at line 166 of file ORB.h.


Constructor & Destructor Documentation

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

Definition at line 56 of file ORB.cpp.

00057   : CORBA::UserException ("IDL:omg.org/CORBA/ORB/InvalidName:1.0",
00058                           "InvalidName")
00059 {
00060 }

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

Definition at line 68 of file ORB.cpp.

00069   : CORBA::UserException (exc._rep_id (),
00070                           exc._name ())
00071 {
00072 }

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

Definition at line 63 of file ORB.cpp.

00064 {
00065 }


Member Function Documentation

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

Definition at line 88 of file ORB.cpp.

References ACE_NEW_RETURN.

00089 {
00090   CORBA::Exception *retval = 0;
00091   ACE_NEW_RETURN (retval, ::CORBA::ORB::InvalidName, 0);
00092   return retval;
00093 }

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

The narrow operation.

Reimplemented from CORBA::UserException.

Definition at line 83 of file ORB.cpp.

00084 {
00085   return dynamic_cast<InvalidName *> (exc);
00086 }

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

Implements CORBA::UserException.

Definition at line 106 of file ORB.cpp.

00107 {
00108   throw *this;
00109 }

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

Implements CORBA::Exception.

Definition at line 116 of file ORB.cpp.

00117 {
00118   throw ::CORBA::MARSHAL ();
00119 }

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

References ACE_NEW_RETURN.

00097 {
00098   CORBA::Exception *result = 0;
00099   ACE_NEW_RETURN (
00100       result,
00101       ::CORBA::ORB::InvalidName (*this),
00102       0);
00103   return result;
00104 }

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

Implements CORBA::Exception.

Definition at line 111 of file ORB.cpp.

00112 {
00113   throw ::CORBA::MARSHAL ();
00114 }

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


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:39:57 2010 for TAO by  doxygen 1.4.7