Xalan-C++ API Reference 1.12.0
Public Member Functions | List of all members
xalanc::XPathParserException Class Reference

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

#include <xalanc/XPath/XPathParserException.hpp>

Inheritance diagram for xalanc::XPathParserException:
xalanc::XalanXPathException xalanc::XSLException

Public Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from xalanc::XSLException
static XalanDOMString & defaultFormat (const XalanDOMString &theMessage, const XalanDOMString &theURI, XalanFileLoc theLineNumber, XalanFileLoc theColumnNumber, const XalanDOMChar *theType, XalanDOMString &theBuffer)
 
static XalanDOMString & defaultFormat (const XalanDOMChar *theMessage, const XalanDOMChar *theURI, XalanFileLoc theLineNumber, XalanFileLoc theColumnNumber, const XalanDOMChar *theType, XalanDOMString &theBuffer)
 
static XalanDOMString & defaultFormat (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 xalanc::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]

xalanc::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]

xalanc::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]

xalanc::XPathParserException::XPathParserException ( const XPathParserException &  other)

◆ ~XPathParserException()

virtual xalanc::XPathParserException::~XPathParserException ( )
virtual

Member Function Documentation

◆ getType()

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

Retrieve type of exception.

Returns
type of exception

Reimplemented from xalanc::XalanXPathException.


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