|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CXsltException: public IException { public: enum { invalidStylesheet, invalidStylesheetContent, stylesheetRetrievalError, misplacedImport, invalidTopLevelElement, missingAttribute, invalidAttributeValue, invalidExprSyntax, invalidAvtSyntax, undefinedPrefix, contentMustBeEmpty, invalidContent, invalidPcdata, invalidInstruction, invalidElement, missingElement, misplacedElement, invalidUriSyntax, cannotResolveRelativeUri, extensionStaticError, processingTerminated, cannotCreateResultStream, multipleMatchingSpaceRules, multipleMatchingTemplateRules, nullCurrentTemplateRule, namedTemplateRuleNotFound, duplicateTemplateRuleName, duplicateNamespaceAlias, attributeSetNotFound, duplicateAttributeName, duplicateDecimalFormatName, defaultDecimalFormatNotFound, decimalFormatNotFound, duplicateOutputAttribute, duplicateVariableName, circularVariableDefinitions, misplacedAttributeNode, misplacedCommentNode, misplacedElementNode, misplacedProcessingInstructionNode, misplacedNamespaceNode, invalidAttributeName, avtEvaluationError, exprEvaluationError, valueConversionError, invalidComputedAttributeValue, invalidSelectionResultType, invalidNumberOfArguments, invalidArgumentType, documentRetrievalError, outputError, writerError, unsupportedFeature, extensionRuntimeWarning, extensionRuntimeError }; public: CXsltException( int nCode, const CString &strArg1, const CString &strArg2); CXsltException( int nCode, const CNodeId &stylesheetNodeId, const CString &strStylesheetNodeName, const CString &strArg1, const CString &strArg2); CXsltException( int nCode, const CNodeId &stylesheetNodeId, const CString &strStylesheetNodeName, const CNodeId &documentNodeId, const CString &strDocumentNodeName, const CString &strArg1, const CString &strArg2); ~CXsltException(); public: CString ToString(); public: CNodeId GetStylesheetNodeId(); CString GetStylesheetNodeName(); CNodeId GetDocumentNodeId(); CString GetDocumentNodeName(); };
The exception thrown by the XSLT engine.
Every XSLT exception is assigned an integer exception code. Allowed values for exception codes are specified by the anonymous enumeration contained in this class declaration.
Every XSLT exception may have the following optional attributes, which can be used for reporting errors:
Constructor/Destructor Summary | |
CXsltException
(int nCode, const CString &strArg1, const CString &strArg2);
����������Constructs the XSLT exception. |
|
CXsltException
(int nCode, const CNodeId &stylesheetNodeId, const CString &strStylesheetNodeName, const CString &strArg1, const CString &strArg2);
����������Constructs the XSLT exception referencing a stylesheet node. |
|
CXsltException
(int nCode, const CNodeId &stylesheetNodeId, const CString &strStylesheetNodeName, const CNodeId &documentNodeId, const CString &strDocumentNodeName, const CString &strArg1, const CString &strArg2);
����������Constructs the XSLT exception referencing a stylesheet node and a document node. |
|
~CXsltException
();
����������Destroys the XSLT exception. |
Function Summary | |
CString
|
ToString
();
����������Returns the string representation of this exception. |
CNodeId
|
GetStylesheetNodeId
();
����������Returns the identifier of the stylesheet node related to this exception. |
CString
|
GetStylesheetNodeName
();
����������Returns the name of the stylesheet node related to this exception. |
CNodeId
|
GetDocumentNodeId
();
����������Returns the identifier of the document node related to this exception. |
CString
|
GetDocumentNodeName
();
����������Returns the name of the document node related to this exception. |
Constructor/Destructor Detail |
CXsltException( int nCode, const CString &strArg1, const CString &strArg2);
Constructs the XSLT exception.
nCode
- the exception codestrArg1
- the first informational string
associated with this exception, or the empty string
if none was suppliedstrArg2
- the second informational string
associated with this exception, or the empty string
if none was suppliedCXsltException( int nCode, const CNodeId &stylesheetNodeId, const CString &strStylesheetNodeName, const CString &strArg1, const CString &strArg2);
Constructs the XSLT exception referencing a stylesheet node.
nCode
- the exception codestylesheetNodeId
- the identifier of the stylesheet
node related to this exceptionstrStylesheetNodeName
- the name of the stylesheet node
related to this exceptionstrArg1
- the first informational string
associated with this exception, or the empty string
if none was suppliedstrArg2
- the second informational string
associated with this exception, or the empty string
if none was suppliedCXsltException( int nCode, const CNodeId &stylesheetNodeId, const CString &strStylesheetNodeName, const CNodeId &documentNodeId, const CString &strDocumentNodeName, const CString &strArg1, const CString &strArg2);
Constructs the XSLT exception referencing a stylesheet node and a document node.
nCode
- the exception codestylesheetNodeId
- the identifier of the stylesheet
node related to this exceptionstrStylesheetNodeName
- the name of the stylesheet node
related to this exceptiondocumentNodeId
- the identifier of the document
node related to this exceptionstrDocumentNodeName
- the name of the document node
related to this exceptionstrArg1
- the first informational string
associated with this exception, or the empty string
if none was suppliedstrArg2
- the second informational string
associated with this exception, or the empty string
if none was supplied~CXsltException();
Destroys the XSLT exception.
Function Detail |
CString ToString();
Returns the string representation of this exception.
CNodeId GetStylesheetNodeId();
Returns the identifier of the stylesheet node related to this exception.
CString GetStylesheetNodeName();
Returns the name of the stylesheet node related to this exception.
CNodeId GetDocumentNodeId();
Returns the identifier of the document node related to this exception.
CString GetDocumentNodeName();
Returns the name of the document node related to this exception.
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |