SourceForge.net Logo
xercesc::DOMLSException Class Reference

#include <DOMLSException.hpp>

Inheritance diagram for xercesc::DOMLSException:
Inheritance graph
[legend]

List of all members.

Public Types

Public Contants
enum  LSExceptionCode { PARSE_ERR = 81, SERIALIZE_ERR = 82 }
 ExceptionCode. More...
- Public Types inherited from xercesc::DOMException
enum  ExceptionCode {
  INDEX_SIZE_ERR = 1, DOMSTRING_SIZE_ERR = 2, HIERARCHY_REQUEST_ERR = 3, WRONG_DOCUMENT_ERR = 4,
  INVALID_CHARACTER_ERR = 5, NO_DATA_ALLOWED_ERR = 6, NO_MODIFICATION_ALLOWED_ERR = 7, NOT_FOUND_ERR = 8,
  NOT_SUPPORTED_ERR = 9, INUSE_ATTRIBUTE_ERR = 10, INVALID_STATE_ERR = 11, SYNTAX_ERR = 12,
  INVALID_MODIFICATION_ERR = 13, NAMESPACE_ERR = 14, INVALID_ACCESS_ERR = 15, VALIDATION_ERR = 16,
  TYPE_MISMATCH_ERR = 17
}
 ExceptionCode. More...

Public Member Functions

Constructors
 DOMLSException ()
 Default constructor for DOMLSException.
 DOMLSException (short code, short messageCode, MemoryManager *const memoryManager)
 Constructor which takes an error code and a message.
 DOMLSException (const DOMLSException &other)
 Copy constructor.
Destructor.
virtual ~DOMLSException ()
 Destructor for DOMLSException.
- Public Member Functions inherited from xercesc::DOMException
const XMLCh * getMessage () const
 DOMException ()
 Default constructor for DOMException.
 DOMException (short code, short messageCode=0, MemoryManager *const memoryManager=XMLPlatformUtils::fgMemoryManager)
 Constructor which takes an error code and an optional message code.
 DOMException (const DOMException &other)
 Copy constructor.
virtual ~DOMException ()
 Destructor for DOMException.

Additional Inherited Members

- Public Attributes inherited from xercesc::DOMException
short code
 A code value, from the set defined by the ExceptionCode enum, indicating the type of error that occured.
const XMLCh * msg
 A string value.
- Protected Attributes inherited from xercesc::DOMException
MemoryManagerfMemoryManager

Member Enumeration Documentation

ExceptionCode.

PARSE_ERR: If an attempt was made to load a document, or an XML Fragment, using DOMLSParser and the processing has been stopped.

SERIALIZE_ERR: If an attempt was made to serialize a Node using LSSerializer and the processing has been stopped.

Since:
DOM Level 3
Enumerator:
PARSE_ERR 
SERIALIZE_ERR 

Constructor & Destructor Documentation

xercesc::DOMLSException::DOMLSException ( )

Default constructor for DOMLSException.

xercesc::DOMLSException::DOMLSException ( short  code,
short  messageCode,
MemoryManager *const  memoryManager 
)

Constructor which takes an error code and a message.

Parameters:
codeThe error code which indicates the exception
messageCodeThe string containing the error message
memoryManagerThe memory manager used to (de)allocate memory
xercesc::DOMLSException::DOMLSException ( const DOMLSException other)

Copy constructor.

Parameters:
otherThe object to be copied.
virtual xercesc::DOMLSException::~DOMLSException ( )
virtual

Destructor for DOMLSException.


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