TAO_DynamicInterface  2.1.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes
CORBA::UnknownUserException Class Reference

UnknownUserException. More...

#include <Unknown_User_Exception.h>

Inheritance diagram for CORBA::UnknownUserException:
Inheritance graph
Collaboration diagram for CORBA::UnknownUserException:
Collaboration graph

List of all members.

Public Member Functions

 UnknownUserException (void)
 Constructor.
 UnknownUserException (CORBA::Any &exception)
 Constructor.
 UnknownUserException (const UnknownUserException &e)
 Copy constructor.
virtual ~UnknownUserException (void)
 Destructor.
virtual void _raise (void) const
 To throw an UnknownUserException of this type.
virtual CORBA::Exception_tao_duplicate (void) const
virtual void _tao_encode (TAO_OutputCDR &cdr) const
virtual void _tao_decode (TAO_InputCDR &cdr)
virtual const char * _rep_id (void) const
 Return the repository ID of the Exception.
virtual CORBA::TypeCode_ptr _tao_type (void) const
 This class has a specific typecode.
- Public Member Functions inherited from CORBA::UserException
 UserException (UserException const &rhs)
virtual ~UserException (void)
UserExceptionoperator= (UserException const &rhs)
 UserException (char const *repository_id, char const *local_name)
virtual ACE_CString _info (void) const
 Exception (const Exception &src)
virtual ~Exception (void)
virtual const char * _name (void) 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 void _tao_any_destructor (void *)

Public Attributes

CORBA::Any &exception void
 Return the any containing the user exception.

Private Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from CORBA::UserException
 UserException (void)
 Exception (void)
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

CORBA::UnknownUserException::UnknownUserException ( void  )

Constructor.

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

Constructor.

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

Copy constructor.

CORBA::UnknownUserException::~UnknownUserException ( void  )
virtual

Destructor.


Member Function Documentation

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

Narrow to an UnknowUserException.

Reimplemented from CORBA::UserException.

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

Reimplemented from CORBA::UserException.

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

To throw an UnknownUserException of this type.

Implements CORBA::UserException.

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

Return the repository ID of the Exception.

Reimplemented from CORBA::UserException.

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

Implements CORBA::UserException.

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

Implements CORBA::UserException.

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

Implements CORBA::UserException.

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

This class has a specific typecode.

Reimplemented from CORBA::UserException.


Member Data Documentation

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

Holder for the actual exception.

CORBA::Any& exception CORBA::UnknownUserException::void

Return the any containing the user exception.


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