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

#include <xalanc/DOMSupport/DOMSupportException.hpp>

Inheritance diagram for xalanc::DOMSupportException:
xalanc::XSLException

Public Member Functions

 DOMSupportException (const XalanDOMString &theMessage, MemoryManager &theManager, const Locator *theLocator)
 Constructor for an exception arising from DOMSupport classes.
 
 DOMSupportException (const XalanDOMString &theMessage, MemoryManager &theManager)
 Constructor for an exception arising from DOMSupport classes.
 
virtual ~DOMSupportException ()
 
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 41 of file DOMSupportException.hpp.

Constructor & Destructor Documentation

◆ DOMSupportException() [1/2]

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

Constructor for an exception arising from DOMSupport classes.

Parameters
theMessageThe error message.
theManagerthe MemoryManager instance to use.
theLocatorThe Locator instance to use, if any.

◆ DOMSupportException() [2/2]

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

Constructor for an exception arising from DOMSupport classes.

Use this constructor when the error message is already formatted.

Parameters
theMessageThe error message.
theManagerthe MemoryManager instance to use.

◆ ~DOMSupportException()

virtual xalanc::DOMSupportException::~DOMSupportException ( )
virtual

Member Function Documentation

◆ getType()

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

Retrieve type of exception.

Returns
type of exception

Implements xalanc::XSLException.


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