TAO_DynamicInterface 3.1.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
CORBA::UnknownUserException Class Reference

UnknownUserException. More...

#include <Unknown_User_Exception.h>

Inheritance diagram for CORBA::UnknownUserException:
Inheritance graph
[legend]
Collaboration diagram for CORBA::UnknownUserException:
Collaboration graph
[legend]

Public Member Functions

 UnknownUserException ()
 Constructor.
 
 UnknownUserException (CORBA::Any &exception)
 Constructor.
 
 UnknownUserException (const UnknownUserException &e)
 Copy constructor.
 
virtual ~UnknownUserException ()
 Destructor.
 
CORBA::Any & exception ()
 Return the any containing the user exception.
 
virtual void _raise () const
 To throw an UnknownUserException of this type.
 
virtual CORBA::Exception_tao_duplicate () const
 
virtual void _tao_encode (TAO_OutputCDR &cdr) const
 
virtual void _tao_decode (TAO_InputCDR &cdr)
 
virtual const char * _rep_id () const
 Return the repository ID of the Exception.
 
virtual CORBA::TypeCode_ptr _tao_type () const
 This class has a specific typecode.
 
- Public Member Functions inherited from CORBA::UserException
 UserException (UserException const &rhs)
 
virtual ~UserException ()=default
 
UserExceptionoperator= (UserException const &rhs)
 
 UserException (char const *repository_id, char const *local_name)
 
virtual ACE_CString _info () const
 
- Public Member Functions inherited from CORBA::Exception
 Exception (const Exception &src)
 
virtual ~Exception ()=default
 
virtual const char * _name () const
 
void _tao_print_exception (const char *info, FILE *f=stdout) const
 

Static Public Member Functions

static UnknownUserException_downcast (CORBA::Exception *ex)
 Narrow to an UnknowUserException.
 
static UnknownUserException const * _downcast (CORBA::Exception const *ex)
 
- Static Public Member Functions inherited from CORBA::UserException
static UserException_downcast (CORBA::Exception *exception)
 
static const UserException_downcast (CORBA::Exception const *exception)
 
- 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 *)
 

Private Attributes

CORBA::Any * exception_
 Holder for the actual exception.
 

Additional Inherited Members

- Protected Member Functions inherited from CORBA::UserException
 UserException ()
 
- Protected Member Functions inherited from CORBA::Exception
 Exception ()=default
 
Exceptionoperator= (const Exception &src)
 
 Exception (const char *repository_id, const char *local_name)
 

Detailed Description

UnknownUserException.

When user exceptions are received by a DII invocation the ORB is unable to create the exception with the right dynamic type; to workaround this problem it throws a CORBA::UnknownUserException that contains the exception inside an Any.

Constructor & Destructor Documentation

◆ UnknownUserException() [1/3]

CORBA::UnknownUserException::UnknownUserException ( )

Constructor.

◆ UnknownUserException() [2/3]

CORBA::UnknownUserException::UnknownUserException ( CORBA::Any & exception)

Constructor.

◆ UnknownUserException() [3/3]

CORBA::UnknownUserException::UnknownUserException ( const UnknownUserException & e)

Copy constructor.

◆ ~UnknownUserException()

CORBA::UnknownUserException::~UnknownUserException ( )
virtual

Destructor.

Member Function Documentation

◆ _downcast() [1/2]

CORBA::UnknownUserException * CORBA::UnknownUserException::_downcast ( CORBA::Exception * ex)
static

Narrow to an UnknowUserException.

◆ _downcast() [2/2]

CORBA::UnknownUserException const * CORBA::UnknownUserException::_downcast ( CORBA::Exception const * ex)
static

◆ _raise()

void CORBA::UnknownUserException::_raise ( ) const
virtual

To throw an UnknownUserException of this type.

Implements CORBA::UserException.

◆ _rep_id()

const char * CORBA::UnknownUserException::_rep_id ( ) const
virtual

Return the repository ID of the Exception.

Reimplemented from CORBA::Exception.

◆ _tao_decode()

void CORBA::UnknownUserException::_tao_decode ( TAO_InputCDR & cdr)
virtual

Implements CORBA::Exception.

◆ _tao_duplicate()

CORBA::Exception * CORBA::UnknownUserException::_tao_duplicate ( ) const
virtual

Implements CORBA::Exception.

◆ _tao_encode()

void CORBA::UnknownUserException::_tao_encode ( TAO_OutputCDR & cdr) const
virtual

Implements CORBA::Exception.

◆ _tao_type()

CORBA::TypeCode_ptr CORBA::UnknownUserException::_tao_type ( ) const
virtual

This class has a specific typecode.

Reimplemented from CORBA::UserException.

◆ exception()

CORBA::Any & CORBA::UnknownUserException::exception ( )

Return the any containing the user exception.

Member Data Documentation

◆ exception_

CORBA::Any* CORBA::UnknownUserException::exception_
private

Holder for the actual exception.


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