Xerces-C++ 3.3.0
|
Receive notification of panic. More...
#include <xercesc/util/DefaultPanicHandler.hpp>
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. | |
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.
DefaultPanicHandler::DefaultPanicHandler | ( | ) |
Default constructor.
|
virtual |
Destructor.
|
virtual |
Receive notification of panic.
Upon invocation, a corresponding error message will be output to the stderr, and program exit.
reason | The reason of panic |
Implements PanicHandler.