CORBA::PolicyError Class Reference

#include <PolicyC.h>

Inheritance diagram for CORBA::PolicyError:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PolicyError (void)
 PolicyError (const PolicyError &)
 ~PolicyError (void)
PolicyErroroperator= (const PolicyError &)
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 &)
 PolicyError (::CORBA::PolicyErrorCode _tao_reason)
virtual CORBA::TypeCode_ptr _tao_type (void) const
 Will be overridden in the concrete derived classes.

Static Public Member Functions

static void _tao_any_destructor (void *)
 Used in the non-copying Any insertion operator.
static PolicyError_downcast (CORBA::Exception *)
 The narrow operation.
static const PolicyError_downcast (CORBA::Exception const *)
 The const version of narrow operation.
static CORBA::Exception_alloc (void)

Public Attributes

CORBA::PolicyErrorCode reason

Constructor & Destructor Documentation

CORBA::PolicyError::PolicyError ( void   ) 

CORBA::PolicyError::PolicyError ( const PolicyError  ) 

CORBA::PolicyError::~PolicyError ( void   ) 

CORBA::PolicyError::PolicyError ( ::CORBA::PolicyErrorCode  _tao_reason  ) 


Member Function Documentation

CORBA::Exception * CORBA::PolicyError::_alloc ( void   )  [static]

const CORBA::PolicyError * CORBA::PolicyError::_downcast ( CORBA::Exception const *   )  [static]

The const version of narrow operation.

Reimplemented from CORBA::UserException.

CORBA::PolicyError * CORBA::PolicyError::_downcast ( CORBA::Exception  )  [static]

The narrow operation.

Reimplemented from CORBA::UserException.

void CORBA::PolicyError::_raise ( void   )  const [virtual]

Implements CORBA::UserException.

void CORBA::PolicyError::_tao_any_destructor ( void *   )  [static]

Used in the non-copying Any insertion operator.

Reimplemented from CORBA::Exception.

void CORBA::PolicyError::_tao_decode ( TAO_InputCDR  )  [virtual]

Implements CORBA::Exception.

CORBA::Exception * CORBA::PolicyError::_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::PolicyError::_tao_encode ( TAO_OutputCDR  )  const [virtual]

Implements CORBA::Exception.

CORBA::TypeCode_ptr CORBA::PolicyError::_tao_type ( void   )  const [virtual]

Will be overridden in the concrete derived classes.

Reimplemented from CORBA::UserException.

PolicyError& CORBA::PolicyError::operator= ( const PolicyError  ) 


Member Data Documentation

CORBA::PolicyErrorCode CORBA::PolicyError::reason


The documentation for this class was generated from the following files:
Generated on Sun Jul 9 09:48:14 2006 for TAO by  doxygen 1.4.7-1