Xalan-C++ API Reference 1.12.0
xalanc::XSLTProcessorException Class Reference

#include <xalanc/XSLT/XSLTProcessorException.hpp>

Inheritance diagram for xalanc::XSLTProcessorException:
xalanc::XSLException xalanc::ElemMessage::ElemMessageTerminateException xalanc::VariablesStack::InvalidStackContextException

Public Member Functions

 XSLTProcessorException (MemoryManager &theManager, const XalanDOMString &theMessage, const Locator *theLocator)
 Construct an XSLT Processor exception object.
 XSLTProcessorException (MemoryManager &theManager, const XalanDOMString &theMessage)
 Construct an XSLT Processor exception object.
virtual ~XSLTProcessorException ()
virtual const XalanDOMChar * getType () const
 Retrieve type of exception.
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

Definition at line 37 of file XSLTProcessorException.hpp.

Constructor & Destructor Documentation

◆ XSLTProcessorException() [1/2]

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

Construct an XSLT Processor exception object.

Parameters
theManagerThe MemoryManager instance to use.
theMessageThe message to print when exception thrown
theLocatorThe Locator instance for error reporting, if any.

◆ XSLTProcessorException() [2/2]

xalanc::XSLTProcessorException::XSLTProcessorException ( MemoryManager & theManager,
const XalanDOMString & theMessage )

Construct an XSLT Processor exception object.

Use this constructor when the error message is already formatted.

Parameters
theManagerThe MemoryManager instance to use.
theMessageThe message to print when exception thrown

◆ ~XSLTProcessorException()

virtual xalanc::XSLTProcessorException::~XSLTProcessorException ( )
virtual

Member Function Documentation

◆ getType()

virtual const XalanDOMChar * xalanc::XSLTProcessorException::getType ( ) const
inlinevirtual

Retrieve type of exception.

Returns
type of exception

Implements xalanc::XSLException.

Reimplemented in xalanc::ElemMessage::ElemMessageTerminateException, and xalanc::VariablesStack::InvalidStackContextException.

Definition at line 68 of file XSLTProcessorException.hpp.


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