Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Member Functions | List of all members
XPathParserException Class Reference

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

#include <XPathParserException.hpp>

Inherits XalanXPathException.

Public Member Functions

 XPathParserException (const XalanDOMString &theMessage, MemoryManager &theManager, const Locator *theLocator)
 Constructor. More...
 
 XPathParserException (const XalanDOMString &theMessage, MemoryManager &theManager)
 Constructor. More...
 
 XPathParserException (const XPathParserException &other)
 
virtual ~XPathParserException ()
 
virtual const XalanDOMChar * getType () const
 Retrieve type of exception. More...
 
- Public Member Functions inherited from XalanXPathException
 XalanXPathException (const XalanDOMString &theMessage, MemoryManager &theManager)
 Construct an XPath exeption object. More...
 
 XalanXPathException (const XalanDOMString &theMessage, MemoryManager &theManager, const Locator *theLocator)
 Construct an XPath exeption object. More...
 
 XalanXPathException (const XalanXPathException &other)
 
virtual ~XalanXPathException ()
 
- Public Member Functions inherited from XSLException
 XSLException (const XalanDOMString &theMessage, MemoryManager &theManager, const Locator *theLocator)
 Constructor. More...
 
 XSLException (const XalanDOMString &theMessage, MemoryManager &theManager)
 Constructor. More...
 
 XSLException (const XSLException &other)
 
virtual ~XSLException ()
 
const XalanDOMStringgetMessage () const
 Retrieve message for exception. More...
 
const XalanDOMStringgetURI () const
 Get the URI for the associated document, if any. More...
 
XalanFileLoc getLineNumber () const
 Retrieve the line number. More...
 
XalanFileLoc getColumnNumber () const
 Retrieve the column number. More...
 
const MemoryManager & getMemoryManager () const
 
MemoryManager & getMemoryManager ()
 
XalanDOMStringdefaultFormat (XalanDOMString &theBuffer) const
 

Additional Inherited Members

- Static Public Member Functions inherited from XSLException
static XalanDOMStringdefaultFormat (const XalanDOMString &theMessage, const XalanDOMString &theURI, XalanFileLoc theLineNumber, XalanFileLoc theColumnNumber, const XalanDOMChar *theType, XalanDOMString &theBuffer)
 
static XalanDOMStringdefaultFormat (const XalanDOMChar *theMessage, const XalanDOMChar *theURI, XalanFileLoc theLineNumber, XalanFileLoc theColumnNumber, const XalanDOMChar *theType, XalanDOMString &theBuffer)
 
static XalanDOMStringdefaultFormat (const XalanDOMChar *theMessage, const XalanDOMString::size_type theMessageLength, const XalanDOMChar *theURI, const XalanDOMString::size_type theURILength, XalanFileLoc theLineNumber, XalanFileLoc theColumnNumber, const XalanDOMChar *theType, const XalanDOMString::size_type theTypeLength, XalanDOMString &theBuffer)
 
- Protected Attributes inherited from XSLException
MemoryManager & m_memoryManager
 

Detailed Description

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

Definition at line 39 of file XPathParserException.hpp.

Constructor & Destructor Documentation

◆ XPathParserException() [1/3]

XPathParserException::XPathParserException ( const XalanDOMString theMessage,
MemoryManager &  theManager,
const Locator *  theLocator 
)

Constructor.

Parameters
theMessagemessage to write when exception thrown
theManagerThe MemoryManager instance to use.
theLocatorThe locator instance for error reporting, if any.

◆ XPathParserException() [2/3]

XPathParserException::XPathParserException ( const XalanDOMString theMessage,
MemoryManager &  theManager 
)

Constructor.

Use this constructor when the error message has already been formatted.

Parameters
theMessagemessage to write when exception thrown
theManagerThe MemoryManager instance to use.

◆ XPathParserException() [3/3]

XPathParserException::XPathParserException ( const XPathParserException other)

◆ ~XPathParserException()

virtual XPathParserException::~XPathParserException ( )
virtual

Member Function Documentation

◆ getType()

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.

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

Apache Logo