Public Member Functions | |
hidden Constructors | |
DefaultPanicHandler () | |
Default constructor. | |
virtual | ~DefaultPanicHandler () |
Destructor. | |
Implement virtual panic handler interface | |
virtual void | panic (const PanicHandler::PanicReasons reason) |
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 DefaultPanicHandler::~DefaultPanicHandler | ( | ) | [virtual] |
Destructor.
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.
reason | The reason of panic |
Implements PanicHandler.