TAO_Exceptions Class Reference

This class is a namespace for exception-related static data and methods. More...

#include <Exception.h>

Collaboration diagram for TAO_Exceptions:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static void make_standard_typecode (CORBA::TypeCode_ptr &tcp, const char *name, char *buf, size_t buflen ACE_ENV_ARG_DECL)
static void make_unknown_user_typecode (CORBA::TypeCode_ptr &tcp ACE_ENV_ARG_DECL)
static void init (ACE_ENV_SINGLE_ARG_DECL)
static void fini (void)
 Runtime finalization of all standard exception typecodes.
static CORBA::SystemExceptioncreate_system_exception (const char *id ACE_ENV_ARG_DECL)
 Create a CORBA::SystemException given the interface repository ID.

Static Public Attributes

static ACE_Allocatorglobal_allocator_

Static Private Attributes

static bool initialized_ = false

Detailed Description

This class is a namespace for exception-related static data and methods.


Member Function Documentation

CORBA::SystemException * TAO_Exceptions::create_system_exception const char *id  ACE_ENV_ARG_DECL  )  [static]
 

Create a CORBA::SystemException given the interface repository ID.

void TAO_Exceptions::fini void   )  [static]
 

Runtime finalization of all standard exception typecodes.

void TAO_Exceptions::init ACE_ENV_SINGLE_ARG_DECL   )  [static]
 

Runtime initialization of all standard exception typecodes. Called from CORBA::ORB_init.

void TAO_Exceptions::make_standard_typecode CORBA::TypeCode_ptr tcp,
const char *  name,
char *  buf,
size_t buflen  ACE_ENV_ARG_DECL
[static]
 

Make the TypeCode for a standard exception. When used correctly, initializing system exceptions is only an exercise in CPU time; it allocates no new memory.

void TAO_Exceptions::make_unknown_user_typecode CORBA::TypeCode_ptr &tcp  ACE_ENV_ARG_DECL  )  [static]
 

Make the TypeCode for the CORBA::UnknownUserException standard exception.


Member Data Documentation

ACE_Allocator * TAO_Exceptions::global_allocator_ [static]
 

This global allocator is used to initialize system exception typecodes. Since at the time, the ORB is mostly still not available. Using a separate allocator prevents CDR routines from accessing the optimized allocators from the ORB.

bool TAO_Exceptions::initialized_ = false [static, private]
 

Flag that denotes that the TAO's CORBA exceptions have been initialized.


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