SourceForge.net Logo
List of all members
xercesc::DOMRangeException Class Reference

Range operations may throw a DOMRangeException as specified in their method descriptions. More...

#include <DOMRangeException.hpp>

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

Public Types

Public Constants
enum  RangeExceptionCode { BAD_BOUNDARYPOINTS_ERR = 111, INVALID_NODE_TYPE_ERR = 112 }
 Enumerators for DOM Range Exceptions. 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
 DOMRangeException ()
 Default constructor for DOMRangeException. More...
 
 DOMRangeException (short code, short messageCode, MemoryManager *const memoryManager)
 Constructor which takes an error code and a message. More...
 
 DOMRangeException (const DOMRangeException &other)
 Copy constructor. More...
 
Destructor.
virtual ~DOMRangeException ()
 Destructor for DOMRangeException. More...
 
- Public Member Functions inherited from xercesc::DOMException
const XMLCh * getMessage () const
 
 DOMException ()
 Default constructor for DOMException. More...
 
 DOMException (short code, short messageCode=0, MemoryManager *const memoryManager=XMLPlatformUtils::fgMemoryManager)
 Constructor which takes an error code and an optional message code. More...
 
 DOMException (const DOMException &other)
 Copy constructor. More...
 
virtual ~DOMException ()
 Destructor for DOMException. More...
 

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. More...
 
const XMLCh * msg
 A string value. More...
 
- Protected Attributes inherited from xercesc::DOMException
MemoryManagerfMemoryManager
 

Detailed Description

Range operations may throw a DOMRangeException as specified in their method descriptions.

See also the Document Object Model (DOM) Level 2 Traversal and Range Specification.

Since
DOM Level 2

Member Enumeration Documentation

Enumerators for DOM Range Exceptions.

BAD_BOUNDARYPOINTS_ERR: If the boundary-points of a Range do not meet specific requirements.

INVALID_NODE_TYPE_ERR: If the container of an boundary-point of a Range is being set to either a node of an invalid type or a node with an ancestor of an invalid type.

Since
DOM Level 2
Enumerator
BAD_BOUNDARYPOINTS_ERR 
INVALID_NODE_TYPE_ERR 

Constructor & Destructor Documentation

xercesc::DOMRangeException::DOMRangeException ( )

Default constructor for DOMRangeException.

xercesc::DOMRangeException::DOMRangeException ( 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::DOMRangeException::DOMRangeException ( const DOMRangeException other)

Copy constructor.

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

Destructor for DOMRangeException.


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