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:
[legend]
Collaboration diagram for xalanc::XPathParserException:
[legend]

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