Unicorn XML Toolkit
Version 1.00.00

Namespace EcmaScriptComponent
Class CEcmaScriptComponentException

class CEcmaScriptComponentException: public IException {
public:
    enum {
        invalidArgumentCount,
        invalidArgumentType,
        invalidQualifiedNameSyntax,
        undefinedInterfaceName,
        unsupportedComponentPlatform,
        resourceRetrievalError,
        resourceParsingError,
        componentObjectRequired,
        wideStringNotAllowed
        };
public:
    CEcmaScriptComponentException(int nCode);
    CEcmaScriptComponentException(int nCode, const CString &strArg);
    ~CEcmaScriptComponentException();
public:
    CString ToString();
    };

The exception thrown by ECMAScript component-based 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.

An optional informational string may be associated with the exception.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
Constructor/Destructor Summary
CEcmaScriptComponentException (int nCode);
����������Constructs the exception.
CEcmaScriptComponentException (int nCode, const CString &strArg);
����������Constructs the exception with the specified informational string.
~CEcmaScriptComponentException ();
����������Destroys the exception.

Function Summary
CString ToString ();
����������Returns the string representation of this exception.

Constructor/Destructor Detail

CEcmaScriptComponentException

CEcmaScriptComponentException(int nCode);

Constructs the exception.

Parameters:
nCode - the exception code

CEcmaScriptComponentException

CEcmaScriptComponentException(int nCode, const CString &strArg);

Constructs the exception with the specified informational string.

Parameters:
nCode - the exception code
strArg - the informational string

~CEcmaScriptComponentException

~CEcmaScriptComponentException();

Destroys the exception.

Function Detail

ToString

CString ToString();

Returns the string representation of this exception.

Returns:
the string representation of this exception

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.