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);
static char * replicate(const char *const toRep, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Replicates a string NOTE: The returned buffer is allocated with the MemoryManager.
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition: XMemory.hpp:40
SAXException(const XMLCh *const msg, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Create a new SAXException.
Definition: SAXException.hpp:74
#define SAX_EXPORT
Definition: XercesDefs.hpp:164
Definition: SAXException.hpp:161
SAXException(const char *const msg, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Create a new SAXException.
Definition: SAXException.hpp:89
Definition: XMLUni.hpp:38
SAXException(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Default constructor.
Definition: SAXException.hpp:60
MemoryManager * fMemoryManager
Definition: SAXException.hpp:158
Configurable memory manager.
Definition: MemoryManager.hpp:39
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
SAXException(const SAXException &toCopy)
Copy constructor.
Definition: SAXException.hpp:102
wchar_t XMLCh
Definition: Xerces_autoconf_config.borland.hpp:92
virtual const XMLCh * getMessage() const
Get the contents of the message.
Definition: SAXException.hpp:143
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
Class for representing native character strings and handling common string operations.
Definition: XMLString.hpp:45
virtual ~SAXException()
Destructor.
Definition: SAXException.hpp:110
Definition: SAXException.hpp:195
Encapsulate a general SAX error or warning.
Definition: SAXException.hpp:51
SAXException & operator=(const SAXException &toCopy)
Assignment operator.
Definition: SAXException.hpp:125
XMLCh * fMsg
Definition: SAXException.hpp:157