|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
�PREV CLASS�� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CXpathException: public IException { public: enum { illegalExprChar, nonTerminatedLiteral, invalidVariableReference, invalidOperatorName, invalidFunctionName, invalidAxisName, invalidExprSyntax, missingColonColon, missingParenleft, missingParenright, missingBracketright, invalidNodeTest, invalidPrimaryExpr, prefixNotFoundInExpressionContext, variableNotBoundInExpressionContext, functionNotFoundInExpressionContext, invalidNumberOfArguments, invalidArgumentType, comparisonNotSupported }; public: CXpathException(int nCode); CXpathException(int nCode, const CString &strArg); CXpathException( int nCode, const CString &strArg1, const CString &strArg2); CXpathException( int nCode, const CString &strArg1, const CString &strArg2, const CString &strArg3); CXpathException(CXpathException *e); ~CXpathException(); public: CString ToString(); };
The exception thrown by the XPath engine.
Every exception of this class is assigned an integer exception code. Allowed values for exception codes are specified by the anonymous enumeration contained in this class declaration.
Optionally, up to three informational strings may be associated with the exception.
Constructor/Destructor Summary | |
CXpathException
(int nCode);
����������Constructs the XPath exception. |
|
CXpathException
(int nCode, const CString &strArg);
����������Constructs the XPath exception with one informational string. |
|
CXpathException
(int nCode, const CString &strArg1, const CString &strArg2);
����������Constructs the XPath exception with two informational strings. |
|
CXpathException
(int nCode, const CString &strArg1, const CString &strArg2, const CString &strArg3);
����������Constructs the XPath exception with three informational strings. |
|
CXpathException
(CXpathException *e);
����������Constructs the XPath exception by copying another XPath exception. |
|
~CXpathException
();
����������Destroys the XPath exception. |
Function Summary | |
CString
|
ToString
();
����������Returns the string representation of this exception. |
Constructor/Destructor Detail |
CXpathException(int nCode);
Constructs the XPath exception.
nCode
- the exception codeCXpathException(int nCode, const CString &strArg);
Constructs the XPath exception with one informational string.
nCode
- the exception codestrArg
- the informational stringCXpathException( int nCode, const CString &strArg1, const CString &strArg2);
Constructs the XPath exception with two informational strings.
nCode
- the exception codestrArg1
- the first informational stringstrArg2
- the second informational stringCXpathException( int nCode, const CString &strArg1, const CString &strArg2, const CString &strArg3);
Constructs the XPath exception with three informational strings.
nCode
- the exception codestrArg1
- the first informational stringstrArg2
- the second informational stringstrArg3
- the third informational stringCXpathException(CXpathException *e);
Constructs the XPath exception by copying another XPath exception.
e
- the XPath exception to copy~CXpathException();
Destroys the XPath exception.
Function Detail |
CString ToString();
Returns the string representation of this exception.
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
�PREV CLASS�� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |