Xerces-C++ 3.3.0
XMLException Class Referenceabstract

#include <xercesc/util/XMLException.hpp>

Inheritance diagram for XMLException:
XMemory

Public Member Functions

virtual ~XMLException ()
 
virtual const XMLChgetType () const =0
 
XMLExcepts::Codes getCode () const
 
const XMLChgetMessage () const
 
const char * getSrcFile () const
 
XMLFileLoc getSrcLine () const
 
XMLErrorReporter::ErrTypes getErrorType () const
 
void setPosition (const char *const file, const XMLFileLoc line)
 
 XMLException ()
 
 XMLException (const char *const srcFile, const XMLFileLoc srcLine, MemoryManager *const memoryManager=0)
 
 XMLException (const XMLException &toCopy)
 
XMLExceptionoperator= (const XMLException &toAssign)
 
- 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.
 

Protected Member Functions

void loadExceptText (const XMLExcepts::Codes toLoad)
 
void loadExceptText (const XMLExcepts::Codes toLoad, const XMLCh *const text1, const XMLCh *const text2=0, const XMLCh *const text3=0, const XMLCh *const text4=0)
 
void loadExceptText (const XMLExcepts::Codes toLoad, const char *const text1, const char *const text2=0, const char *const text3=0, const char *const text4=0)
 
- Protected Member Functions inherited from XMemory
 XMemory ()
 Protected default constructor.
 

Protected Attributes

MemoryManagerfMemoryManager
 

Constructor & Destructor Documentation

◆ ~XMLException()

virtual XMLException::~XMLException ( )
virtual

◆ XMLException() [1/3]

XMLException::XMLException ( )

◆ XMLException() [2/3]

XMLException::XMLException ( const char *const srcFile,
const XMLFileLoc srcLine,
MemoryManager *const memoryManager = 0 )

◆ XMLException() [3/3]

XMLException::XMLException ( const XMLException & toCopy)

Member Function Documentation

◆ getCode()

XMLExcepts::Codes XMLException::getCode ( ) const

◆ getErrorType()

◆ getMessage()

const XMLCh * XMLException::getMessage ( ) const

◆ getSrcFile()

const char * XMLException::getSrcFile ( ) const

◆ getSrcLine()

XMLFileLoc XMLException::getSrcLine ( ) const

◆ getType()

virtual const XMLCh * XMLException::getType ( ) const
pure virtual

◆ loadExceptText() [1/3]

void XMLException::loadExceptText ( const XMLExcepts::Codes toLoad)
protected

◆ loadExceptText() [2/3]

void XMLException::loadExceptText ( const XMLExcepts::Codes toLoad,
const char *const text1,
const char *const text2 = 0,
const char *const text3 = 0,
const char *const text4 = 0 )
protected

◆ loadExceptText() [3/3]

void XMLException::loadExceptText ( const XMLExcepts::Codes toLoad,
const XMLCh *const text1,
const XMLCh *const text2 = 0,
const XMLCh *const text3 = 0,
const XMLCh *const text4 = 0 )
protected

◆ operator=()

XMLException & XMLException::operator= ( const XMLException & toAssign)

◆ setPosition()

void XMLException::setPosition ( const char *const file,
const XMLFileLoc line )

Member Data Documentation

◆ fMemoryManager

MemoryManager* XMLException::fMemoryManager
protected

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