CORBA::UserException Class Reference

Application- or OMG- defined CORBA exception sub-class. More...

#include <UserException.h>

Inheritance diagram for CORBA::UserException:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UserException (UserException const &rhs)
 Copy constructor.
 ~UserException (void)
 Destructor.
UserExceptionoperator= (UserException const &rhs)
 Assignment operator.
virtual void _raise (void) const =0
 UserException (char const *repository_id, char const *local_name)
 Constructor from a repository id.
virtual int _is_a (char const *interface_id) const
virtual ACE_CString _info (void) const
 UserException (void)
 Default constructor.

Static Public Member Functions

static UserException_downcast (CORBA::Exception *exception)
 The narrow operation.
static const UserException_downcast (CORBA::Exception const *exception)
 The const version of narrow operation.

Detailed Description

Application- or OMG- defined CORBA exception sub-class.

User exceptions can be defined in application OMG IDL or by the OMG itself for IDL interfaces and services it defines.


Constructor & Destructor Documentation

ACE_INLINE CORBA::UserException::UserException UserException const &  rhs  ) 
 

Copy constructor.

CORBA::UserException::~UserException void   ) 
 

Destructor.

CORBA::UserException::UserException char const *  repository_id,
char const *  local_name
 

Constructor from a repository id.

CORBA::UserException::UserException void   ) 
 

Default constructor.


Member Function Documentation

ACE_INLINE const CORBA::UserException * CORBA::UserException::_downcast CORBA::Exception const *  exception  )  [static]
 

The const version of narrow operation.

Reimplemented from CORBA::Exception.

Reimplemented in CORBA::Bounds, IOP::Codec::InvalidTypeForEncoding, IOP::Codec::FormatMismatch, IOP::Codec::TypeMismatch, IOP::CodecFactory::UnknownEncoding, CORBA::PolicyError, CORBA::InvalidPolicies, CORBA::PollableSet::NoPossiblePollable, CORBA::PollableSet::UnknownPollable, PortableInterceptor::ForwardRequest, PortableInterceptor::InvalidSlot, PortableInterceptor::ORBInitInfo::DuplicateName, PortableInterceptor::ORBInitInfo::InvalidName, and CORBA::WrongTransaction.

ACE_INLINE CORBA::UserException * CORBA::UserException::_downcast CORBA::Exception exception  )  [static]
 

The narrow operation.

Reimplemented from CORBA::Exception.

Reimplemented in CORBA::Bounds, IOP::Codec::InvalidTypeForEncoding, IOP::Codec::FormatMismatch, IOP::Codec::TypeMismatch, IOP::CodecFactory::UnknownEncoding, CORBA::ORB::InvalidName, CORBA::PolicyError, CORBA::InvalidPolicies, CORBA::PollableSet::NoPossiblePollable, CORBA::PollableSet::UnknownPollable, PortableInterceptor::ForwardRequest, PortableInterceptor::InvalidSlot, PortableInterceptor::ORBInitInfo::DuplicateName, PortableInterceptor::ORBInitInfo::InvalidName, CORBA::TypeCode::Bounds, CORBA::TypeCode::BadKind, and CORBA::WrongTransaction.

ACE_CString CORBA::UserException::_info void   )  const [virtual]
 

Returns a string containing information about the exception. This function is not CORBA compliant.

Implements CORBA::Exception.

int CORBA::UserException::_is_a char const *  interface_id  )  const [virtual]
 

Reimplemented from CORBA::Exception.

virtual void CORBA::UserException::_raise void   )  const [pure virtual]
 

Implements CORBA::Exception.

Implemented in CORBA::Bounds, IOP::Codec::InvalidTypeForEncoding, IOP::Codec::FormatMismatch, IOP::Codec::TypeMismatch, IOP::CodecFactory::UnknownEncoding, CORBA::ORB::InvalidName, CORBA::PolicyError, CORBA::InvalidPolicies, CORBA::PollableSet::NoPossiblePollable, CORBA::PollableSet::UnknownPollable, PortableInterceptor::ForwardRequest, PortableInterceptor::InvalidSlot, PortableInterceptor::ORBInitInfo::DuplicateName, PortableInterceptor::ORBInitInfo::InvalidName, CORBA::TypeCode::Bounds, CORBA::TypeCode::BadKind, and CORBA::WrongTransaction.

CORBA::UserException & CORBA::UserException::operator= UserException const &  rhs  ) 
 

Assignment operator.


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:04:51 2005 for TAO by  doxygen 1.4.5