http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Release Info

Installation
Download
Build

FAQs
Samples
API Docs

DOM C++ Binding
Programming
Migration Guide

Feedback
Bug-Reporting
PDF Document

CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DOMXPathException Class Reference

Since:
DOM Level 3.
More...

List of all members.

Public Types

enum  ExceptionCode { INVALID_EXPRESSION_ERR = 51, TYPE_ERR = 52 }
 ExceptionCode INVALID_EXPRESSION_ERR If the expression has a syntax error or otherwise is not a legal expression according to the rules of the specific XPathEvaluator or contains specialized extension functions or variables not supported by this implementation. More...


Public Methods

Constructors
 DOMXPathException ()
 Default constructor for DOMXPathException. More...

 DOMXPathException (short code, const XMLCh *message)
 Constructor which takes an error code and a message. More...

 DOMXPathException (const DOMXPathException &other)
 Copy constructor. More...

Destructor.
virtual ~DOMXPathException ()
 Destructor for DOMXPathException. More...


Public Attributes

Public variables
ExceptionCode 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...


Detailed Description

Since:
DOM Level 3.


Member Enumeration Documentation

enum DOMXPathException::ExceptionCode
 

ExceptionCode INVALID_EXPRESSION_ERR If the expression has a syntax error or otherwise is not a legal expression according to the rules of the specific XPathEvaluator or contains specialized extension functions or variables not supported by this implementation.

TYPE_ERR If the expression cannot be converted to return the specified type.

Enumeration values:
INVALID_EXPRESSION_ERR 
TYPE_ERR 


Constructor & Destructor Documentation

DOMXPathException::DOMXPathException  
 

Default constructor for DOMXPathException.

DOMXPathException::DOMXPathException short    code,
const XMLCh *    message
 

Constructor which takes an error code and a message.

Parameters:
code  The error code which indicates the exception
message  The string containing the error message

DOMXPathException::DOMXPathException const DOMXPathException &    other
 

Copy constructor.

Parameters:
other  The object to be copied.

virtual DOMXPathException::~DOMXPathException   [virtual]
 

Destructor for DOMXPathException.


Member Data Documentation

ExceptionCode DOMXPathException::code
 

A code value, from the set defined by the ExceptionCode enum, indicating the type of error that occured.

const XMLCh* DOMXPathException::msg
 

A string value.

Applications may use this field to hold an error message. The field value is not set by the DOM implementation, meaning that the string will be empty when an exception is first thrown.


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


Copyright © 2004 The Apache Software Foundation. All Rights Reserved.