|
Unicorn XML Toolkit Version 1.50.00 |
|||||||||
�PREV CLASS�� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CToolkitException: public IException { public: enum { undefinedPrefix, undefinedNamespaceUri, invalidUri, invalidOutputMethod, cannotCreateOutputStream, invalidDocumentClass, missingNode, writerIsRunning, writerIsNotRunning, missingResultStream, missingResultHandler, invalidSourceDirect }; public: CToolkitException(int nCode); CToolkitException(int nCode, const WCHAR *pszArg); CToolkitException( int nCode, const WCHAR *pszArg1, const WCHAR *pszArg2); ~CToolkitException(); public: CString ToString(); };
The exception thrown by the toolkit components.
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 | |
CToolkitException
(int nCode);
����������Constructs the toolkit exception. |
|
CToolkitException
(int nCode, const WCHAR *pszArg);
����������Constructs the toolkit exception with one informational string. |
|
CToolkitException
(int nCode, const WCHAR *pszArg1, const WCHAR *pszArg2);
����������Constructs the toolkit exception with two informational strings. |
|
~CToolkitException
();
����������Destroys the toolkit exception. |
Function Summary | |
CString
|
ToString
();
����������Returns the string representation of this exception. |
Constructor/Destructor Detail |
CToolkitException(int nCode);
Constructs the toolkit exception.
nCode
- the exception codeCToolkitException(int nCode, const WCHAR *pszArg);
Constructs the toolkit exception with one informational string.
nCode
- the exception codepszArg
- the informational stringCToolkitException( int nCode, const WCHAR *pszArg1, const WCHAR *pszArg2);
Constructs the toolkit exception with two informational strings.
nCode
- the exception codepszArg1
- the first informational stringpszArg2
- the second informational string~CToolkitException();
Destroys the toolkit exception.
Function Detail |
CString ToString();
Returns the string representation of this exception.
|
Unicorn XML Toolkit Version 1.50.00 |
|||||||||
�PREV CLASS�� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |