Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Public Member Functions | List of all members
XPathParserException Class Reference

Exception class thrown when a problem parsing an XPath is encountered. More...

Inheritance diagram for XPathParserException:
XalanXPathException XSLException

Public Member Functions

 XPathParserException (const XalanDOMString &theMessage, const XalanDOMString &theURI, int theLineNumber, int theColumnNumber, MemoryManagerType &theManager)
 Constructor.
 XPathParserException (const LocatorType &theLocator, const XalanDOMString &theMessage, MemoryManagerType &theManager)
 Constructor.
 XPathParserException (const XalanDOMString &theMessage, MemoryManagerType &theManager)
 Constructor.
virtual ~XPathParserException ()
virtual const XalanDOMChar * getType () const
 Retrieve type of exception.
- Public Member Functions inherited from XalanXPathException
 XalanXPathException (const XalanDOMString &message, const XalanDOMString &theURI, int theLineNumber, int theColumnNumber, MemoryManagerType &theManager)
 Construct an XPath exeption object.
 XalanXPathException (const LocatorType &theLocator, const XalanDOMString &theMessage, MemoryManagerType &theManager)
 Constructor.
 XalanXPathException (const XalanDOMString &message, MemoryManagerType &theManager)
 Construct an XPath exeption object.
 XalanXPathException (const XalanXPathException &other)
virtual ~XalanXPathException ()
- Public Member Functions inherited from XSLException
 XSLException (const XalanDOMString &theMessage, const XalanDOMString &theURI, int theLineNumber, int theColumnNumber, MemoryManagerType &theManager)
 Constructor.
 XSLException (const LocatorType &theLocator, const XalanDOMString &theMessage, MemoryManagerType &theManager)
 Constructor.
 XSLException (const XalanDOMString &theMessage, MemoryManagerType &theManager)
 Constructor.
 XSLException (const XSLException &other)
virtual ~XSLException ()
const XalanDOMStringgetMessage () const
 Retrieve message for exception.
const XalanDOMStringgetURI () const
 Get the URI for the associated document, if any.
size_type getLineNumber () const
 Retrieve the line number.
size_type getColumnNumber () const
 Retrieve the column number.
MemoryManagerTypegetMemoryManager () const
void defaultFormat (XalanDOMString &theBuffer) const

Additional Inherited Members

- Public Types inherited from XSLException
typedef XalanLocator::size_type size_type
- Static Public Member Functions inherited from XSLException
static void defaultFormat (const XalanDOMString &theMessage, const XalanDOMString &theURI, size_type theLineNumber, size_type theColumnNumber, const XalanDOMChar *theType, XalanDOMString &theBuffer)
static void defaultFormat (const XalanDOMChar *theMessage, const XalanDOMChar *theURI, size_type theLineNumber, size_type theColumnNumber, const XalanDOMChar *theType, XalanDOMString &theBuffer)
static void defaultFormat (const XalanDOMChar *theMessage, const XalanDOMString::size_type theMessageLength, const XalanDOMChar *theURI, const XalanDOMString::size_type theURILength, size_type theLineNumber, size_type theColumnNumber, const XalanDOMChar *theType, const XalanDOMString::size_type theTypeLength, XalanDOMString &theBuffer)
- Protected Member Functions inherited from XalanXPathException
 XalanXPathException (MemoryManagerType &theManager)
 Construct an XPath exeption object.

Detailed Description

Exception class thrown when a problem parsing an XPath is encountered.

Constructor & Destructor Documentation

XPathParserException::XPathParserException ( const XalanDOMString theMessage,
const XalanDOMString theURI,
int  theLineNumber,
int  theColumnNumber,
MemoryManagerType theManager 
)

Constructor.

Parameters
theMessagemessage to write when exception thrown
theURIthe URI of the related document, if known
theLineNumberthe line number of the related document, or -1 if not known
theColumnNumberthe column number of the related document, or -1 if not known
theTypetype of exception, default is "XPathParserException"
XPathParserException::XPathParserException ( const LocatorType theLocator,
const XalanDOMString theMessage,
MemoryManagerType theManager 
)

Constructor.

Parameters
theLocatorThe locator instance for error reporting.
theMessagemessage to write when exception thrown
theTypetype of exception, default is "XPathParserException"
XPathParserException::XPathParserException ( const XalanDOMString theMessage,
MemoryManagerType theManager 
)

Constructor.

Parameters
theMessagemessage to write when exception thrown
theTypetype of exception, default is "XPathParserException"
virtual XPathParserException::~XPathParserException ( )
virtual

Member Function Documentation

virtual const XalanDOMChar* XPathParserException::getType ( ) const
virtual

Retrieve type of exception.

Returns
type of exception

Reimplemented from XalanXPathException.


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

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo