Xerces-C++ 3.2.5
List of all members
DefaultPanicHandler Class Reference

Receive notification of panic. More...

#include <xercesc/util/DefaultPanicHandler.hpp>

Inheritance diagram for DefaultPanicHandler:
XMemory PanicHandler

Public Member Functions

hidden Constructors
 DefaultPanicHandler ()
 Default constructor.
 
virtual ~DefaultPanicHandler ()
 Destructor.
 
- Public Member Functions inherited from XMemory
void * operator new (size_t size)
 This method overrides operator new.
 
void * operator new (size_t size, MemoryManager *memMgr)
 This method defines a custom operator new, that will use the provided memory manager to perform the allocation.
 
void * operator new (size_t size, void *ptr)
 This method overrides placement operator new.
 
void operator delete (void *p)
 This method overrides operator delete.
 
void operator delete (void *p, MemoryManager *memMgr)
 This method provides a matching delete for the custom operator new.
 
void operator delete (void *p, void *ptr)
 This method provides a matching delete for the placement new.
 
- Public Member Functions inherited from PanicHandler
virtual ~PanicHandler ()
 Destructor.
 

Implement virtual panic handler interface

virtual void panic (const PanicHandler::PanicReasons reason)
 Receive notification of panic.
 

Additional Inherited Members

- Public Types inherited from PanicHandler
enum  PanicReasons {
  Panic_NoTransService , Panic_NoDefTranscoder , Panic_CantFindLib , Panic_UnknownMsgDomain ,
  Panic_CantLoadMsgDomain , Panic_SynchronizationErr , Panic_SystemInit , Panic_AllStaticInitErr ,
  Panic_MutexErr , PanicReasons_Count
}
 
- Static Public Member Functions inherited from PanicHandler
static const char * getPanicReasonString (const PanicHandler::PanicReasons reason)
 
- Protected Member Functions inherited from XMemory
 XMemory ()
 Protected default constructor.
 
- Protected Member Functions inherited from PanicHandler
 PanicHandler ()
 Default constructor.
 

Detailed Description

Receive notification of panic.

This is Xerces' default implementation of the PanicHanlder interface, which will be instantiated and used in the absence of an application's panic handler.

Constructor & Destructor Documentation

◆ DefaultPanicHandler()

DefaultPanicHandler::DefaultPanicHandler ( )

Default constructor.

◆ ~DefaultPanicHandler()

virtual DefaultPanicHandler::~DefaultPanicHandler ( )
virtual

Destructor.

Member Function Documentation

◆ panic()

virtual void DefaultPanicHandler::panic ( const PanicHandler::PanicReasons  reason)
virtual

Receive notification of panic.

Upon invocation, a corresponding error message will be output to the stderr, and program exit.

Parameters
reasonThe reason of panic

Implements PanicHandler.


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