TAO  2.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions
CORBA::ORB::InvalidName Class Reference

#include <ORB.h>

Inheritance diagram for CORBA::ORB::InvalidName:
Inheritance graph
Collaboration diagram for CORBA::ORB::InvalidName:
Collaboration graph

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 &)
- Public Member Functions inherited from CORBA::UserException
 UserException (UserException const &rhs)
 Copy constructor.
virtual ~UserException (void)
 Destructor.
UserExceptionoperator= (UserException const &rhs)
 Assignment operator.
virtual CORBA::TypeCode_ptr _tao_type (void) const
 Will be overridden in the concrete derived classes.
 UserException (char const *repository_id, char const *local_name)
 Constructor from a repository id.
virtual ACE_CString _info (void) const
- Public Member Functions inherited from CORBA::Exception
 Exception (const Exception &src)
 Copy constructor.
virtual ~Exception (void)
 Destructor.
virtual const char * _rep_id (void) const
 Return the repository ID of the Exception.
virtual const char * _name (void) const
 Return the name of the Exception.
void _tao_print_exception (const char *info, FILE *f=stdout) const
 Print the exception to output determined by f.

Static Public Member Functions

static InvalidName_downcast (CORBA::Exception *)
 The narrow operation.
static CORBA::Exception_alloc (void)
- Static Public Member Functions inherited from CORBA::UserException
static const UserException_downcast (CORBA::Exception const *exception)
 The const version of narrow operation.
- Static Public Member Functions inherited from CORBA::Exception
static void _tao_any_destructor (void *)
 Used in the non-copying Any insertion operator.

Additional Inherited Members

- Protected Member Functions inherited from CORBA::UserException
 UserException (void)
 Default constructor.
- Protected Member Functions inherited from CORBA::Exception
 Exception (void)
 Default constructor.
Exceptionoperator= (const Exception &src)
 Assignment operator.
 Exception (const char *repository_id, const char *local_name)
 Construct from a repository id.

Constructor & Destructor Documentation

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

Member Function Documentation

CORBA::Exception * CORBA::ORB::InvalidName::_alloc ( void  )
static
CORBA::ORB::InvalidName * CORBA::ORB::InvalidName::_downcast ( CORBA::Exception exception)
static

The narrow operation.

Reimplemented from CORBA::UserException.

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

Implements CORBA::UserException.

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

Implements CORBA::Exception.

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.

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

Implements CORBA::Exception.

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

The documentation for this class was generated from the following files: