Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Public Types | Public Member Functions | Static Public Member Functions | List of all members
XSLException Class Referenceabstract
Inheritance diagram for XSLException:
DOMSupportException URISupport::InvalidURIException XalanOutputStream::XalanOutputStreamException XalanQName::InvalidQNameException XalanTranscodingServices::UnrepresentableCharacterException XalanXPathException XMLSupportException XSLTProcessorException

Public Types

typedef XalanLocator::size_type size_type
 

Public Member Functions

 XSLException (const XalanDOMString &theMessage, const XalanDOMString &theURI, int theLineNumber, int theColumnNumber, MemoryManagerType &theManager)
 Constructor. More...
 
 XSLException (const LocatorType &theLocator, const XalanDOMString &theMessage, MemoryManagerType &theManager)
 Constructor. More...
 
 XSLException (const XalanDOMString &theMessage, MemoryManagerType &theManager)
 Constructor. More...
 
 XSLException (const XSLException &other)
 
virtual ~XSLException ()
 
virtual const XalanDOMChar * getType () const =0
 Retrieve type of exception. More...
 
const XalanDOMStringgetMessage () const
 Retrieve message for exception. More...
 
const XalanDOMStringgetURI () const
 Get the URI for the associated document, if any. More...
 
size_type getLineNumber () const
 Retrieve the line number. More...
 
size_type getColumnNumber () const
 Retrieve the column number. More...
 
MemoryManagerTypegetMemoryManager () const
 
void defaultFormat (XalanDOMString &theBuffer) const
 

Static Public Member Functions

static void defaultFormat (const XalanDOMString &theMessage, const XalanDOMString &theURI, size_type theLineNumber, size_type theColumnNumber, const XalanDOMChar *theType, XalanDOMString &theBuffer)
 
static void defaultFormat (const XalanDOMChar *theMessage, const XalanDOMChar *theURI, size_type theLineNumber, size_type theColumnNumber, const XalanDOMChar *theType, XalanDOMString &theBuffer)
 
static void defaultFormat (const XalanDOMChar *theMessage, const XalanDOMString::size_type theMessageLength, const XalanDOMChar *theURI, const XalanDOMString::size_type theURILength, size_type theLineNumber, size_type theColumnNumber, const XalanDOMChar *theType, const XalanDOMString::size_type theTypeLength, XalanDOMString &theBuffer)
 

Member Typedef Documentation

Constructor & Destructor Documentation

XSLException::XSLException ( const XalanDOMString theMessage,
const XalanDOMString theURI,
int  theLineNumber,
int  theColumnNumber,
MemoryManagerType theManager 
)

Constructor.

Parameters
theMessagemessage to write when exception thrown
theURIthe URI of the related document, if known
theLineNumberthe line number of the related document.
theColumnNumberthe column number of the related document.
theTypetype of exception, default is "XSLException"
XSLException::XSLException ( const LocatorType theLocator,
const XalanDOMString theMessage,
MemoryManagerType theManager 
)

Constructor.

Parameters
theLocatorThe locator instance for error reporting.
theMessagemessage to write when exception thrown
theTypetype of exception, default is "XSLException"
XSLException::XSLException ( const XalanDOMString theMessage,
MemoryManagerType theManager 
)

Constructor.

Parameters
theMessagemessage to write when exception thrown
theTypetype of exception, default is "XSLException"
XSLException::XSLException ( const XSLException other)
virtual XSLException::~XSLException ( )
virtual

Member Function Documentation

void XSLException::defaultFormat ( XalanDOMString theBuffer) const
static void XSLException::defaultFormat ( const XalanDOMString theMessage,
const XalanDOMString theURI,
size_type  theLineNumber,
size_type  theColumnNumber,
const XalanDOMChar *  theType,
XalanDOMString theBuffer 
)
static
static void XSLException::defaultFormat ( const XalanDOMChar *  theMessage,
const XalanDOMChar *  theURI,
size_type  theLineNumber,
size_type  theColumnNumber,
const XalanDOMChar *  theType,
XalanDOMString theBuffer 
)
static
static void XSLException::defaultFormat ( const XalanDOMChar *  theMessage,
const XalanDOMString::size_type  theMessageLength,
const XalanDOMChar *  theURI,
const XalanDOMString::size_type  theURILength,
size_type  theLineNumber,
size_type  theColumnNumber,
const XalanDOMChar *  theType,
const XalanDOMString::size_type  theTypeLength,
XalanDOMString theBuffer 
)
static
size_type XSLException::getColumnNumber ( ) const

Retrieve the column number.

Returns
the column number
size_type XSLException::getLineNumber ( ) const

Retrieve the line number.

Returns
the line number
MemoryManagerType& XSLException::getMemoryManager ( ) const
const XalanDOMString& XSLException::getMessage ( ) const

Retrieve message for exception.

Returns
exception message
virtual const XalanDOMChar* XSLException::getType ( ) const
pure virtual
const XalanDOMString& XSLException::getURI ( ) const

Get the URI for the associated document, if any.

Returns
The URI.

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

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo