Go to the documentation of this file.
22 #if !defined(XERCESC_INCLUDE_GUARD_SAXEXCEPTION_HPP)
23 #define XERCESC_INCLUDE_GUARD_SAXEXCEPTION_HPP
63 , fMemoryManager(manager)
78 , fMemoryManager(manager)
93 , fMemoryManager(manager)
104 , fMsg(
XMLString::replicate(toCopy.fMsg, toCopy.fMemoryManager))
105 , fMemoryManager(toCopy.fMemoryManager)
112 fMemoryManager->deallocate(fMsg);
130 fMemoryManager->deallocate(fMsg);
MemoryManager * fMemoryManager
Definition: SAXException.hpp:158
Encapsulate a general SAX error or warning.
Definition: SAXException.hpp:51
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition: XMemory.hpp:40
SAXException(const SAXException &toCopy)
Copy constructor.
Definition: SAXException.hpp:102
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
SAXException & operator=(const SAXException &toCopy)
Assignment operator.
Definition: SAXException.hpp:125
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
static char * replicate(const char *const toRep, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Replicates a string NOTE: The returned buffer is allocated with the MemoryManager.
XMLCh * fMsg
Definition: SAXException.hpp:157
Definition: SAXException.hpp:161
virtual ~SAXException()
Destructor.
Definition: SAXException.hpp:110
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
Definition: SAXException.hpp:195
virtual const XMLCh * getMessage() const
Get the contents of the message.
Definition: SAXException.hpp:143
#define SAX_EXPORT
Definition: XercesDefs.hpp:164
SAXException(const XMLCh *const msg, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Create a new SAXException.
Definition: SAXException.hpp:74
Configurable memory manager.
Definition: MemoryManager.hpp:39
Class for representing native character strings and handling common string operations.
Definition: XMLString.hpp:45
SAXException(const char *const msg, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Create a new SAXException.
Definition: SAXException.hpp:89
Definition: XMLUni.hpp:44
SAXException(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Default constructor.
Definition: SAXException.hpp:60