TAO 4.0.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
CORBA::ORB::InvalidName Class Reference

UserException for resolve_initial_references() More...

import <ORB.h;

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

Public Member Functions

 InvalidName ()
 
 InvalidName (const InvalidName &)
 
 ~InvalidName ()
 
InvalidNameoperator= (const InvalidName &)
 
virtual CORBA::Exception_tao_duplicate () const
 Deep copy.
 
virtual void _raise () 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 ()=default
 Destructor.
 
UserExceptionoperator= (UserException const &rhs)
 Assignment operator.
 
virtual CORBA::TypeCode_ptr _tao_type () 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 () const
 
- Public Member Functions inherited from CORBA::Exception
 Exception (const Exception &src)
 Copy constructor.
 
virtual ~Exception ()=default
 Destructor.
 
virtual const char * _rep_id () const
 Return the repository ID of the Exception.
 
virtual const char * _name () 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 *)
 
static CORBA::Exception_alloc ()
 
- Static Public Member Functions inherited from CORBA::UserException
static UserException_downcast (CORBA::Exception *exception)
 The narrow operation.
 
static const UserException_downcast (CORBA::Exception const *exception)
 The const version of narrow operation.
 
- Static Public Member Functions inherited from CORBA::Exception
static Exception_downcast (Exception *x)
 
static Exception const * _downcast (Exception const *x)
 
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 ()
 Default constructor.
 
- Protected Member Functions inherited from CORBA::Exception
 Exception ()=default
 Default constructor.
 
Exceptionoperator= (const Exception &src)
 Assignment operator.
 
 Exception (const char *repository_id, const char *local_name)
 Construct from a repository id.
 

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.

Constructor & Destructor Documentation

◆ InvalidName() [1/2]

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

◆ InvalidName() [2/2]

CORBA::ORB::InvalidName::InvalidName ( const InvalidName & exc)

◆ ~InvalidName()

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

Member Function Documentation

◆ _alloc()

CORBA::Exception * CORBA::ORB::InvalidName::_alloc ( )
static

◆ _downcast()

CORBA::ORB::InvalidName * CORBA::ORB::InvalidName::_downcast ( CORBA::Exception * exc)
static

◆ _raise()

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

Implements CORBA::UserException.

◆ _tao_decode()

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

Implements CORBA::Exception.

◆ _tao_duplicate()

CORBA::Exception * CORBA::ORB::InvalidName::_tao_duplicate ( ) 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:
  CORBA::Exception *_tao_duplicate () override const
  {
    CORBA::Exception *result {};
    ACE_NEW_RETURN (
        result,
        SomeException (*this),
        nullptr);
    return result;
  }
};

Implements CORBA::Exception.

◆ _tao_encode()

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

Implements CORBA::Exception.

◆ operator=()

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

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