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

#include <xalanc/XSLT/XSLTProcessorException.hpp>

Inheritance diagram for xalanc::XSLTProcessorException:
[legend]
Collaboration diagram for xalanc::XSLTProcessorException:
[legend]

Public Member Functions

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

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::VariablesStack::InvalidStackContextException, and xalanc::ElemMessage::ElemMessageTerminateException.

Definition at line 68 of file XSLTProcessorException.hpp.


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