|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
�PREV CLASS�� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CEcmaScriptDomException: public IException { public: enum { tooManyArguments, stringRequired, booleanRequired, numberRequired, objectRequired, domObjectRequired, nodeObjectRequired, nodeListObjectRequired, namedNodeMapObjectRequired, domImplementationObjectRequired, documentFragmentObjectRequired, documentObjectRequired, characterDataObjectRequired, attrObjectRequired, elementObjectRequired, textObjectRequired, commentObjectRequired, cdataSectionObjectRequired, documentTypeObjectRequired, notationObjectRequired, entityObjectRequired, entityReferenceObjectRequired, processingInstructionObjectRequired }; public: CEcmaScriptDomException(int nCode, const XValue &pValue); CEcmaScriptDomException(int nCode, const XObject &pObject); CEcmaScriptDomException(int nCode, const CString &strArg); ~CEcmaScriptDomException(); public: CString ToString(); };
The exception thrown by ECMAScript DOM extensions.
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.
To provide more detailed exception information, one of the following entities is associated with every object of this class:
EcmaScript::CValue, EcmaScript::CObject
Constructor/Destructor Summary | |
CEcmaScriptDomException
(int nCode, const XValue &pValue);
����������Constructs the exception with the specified code and the specified ECMAScript value. |
|
CEcmaScriptDomException
(int nCode, const XObject &pObject);
����������Constructs the exception with the specified code and the specified ECMAScript object. |
|
CEcmaScriptDomException
(int nCode, const CString &strArg);
����������Constructs the exception with the specified code and the specified descriptive string. |
|
~CEcmaScriptDomException
();
����������Destroys the exception. |
Function Summary | |
CString
|
ToString
();
����������Returns the string representation of this exception. |
Constructor/Destructor Detail |
CEcmaScriptDomException(int nCode, const XValue &pValue);
Constructs the exception with the specified code and the specified ECMAScript value.
nCode
- the exception codepValue
- the ECMAScript value which caused
this exceptionCEcmaScriptDomException(int nCode, const XObject &pObject);
Constructs the exception with the specified code and the specified ECMAScript object.
nCode
- the exception codepObject
- the ECMAScript object which caused
this exceptionCEcmaScriptDomException(int nCode, const CString &strArg);
Constructs the exception with the specified code and the specified descriptive string.
nCode
- the exception codestrArg
- the string describing source
of this exception~CEcmaScriptDomException();
Destroys the 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 |