Unicorn XML Toolkit
Version 1.50.00

Namespace Dom
Class CDomException

class CDomException: public IException {
public:
    enum {
        INDEX_SIZE_ERR = 1,
        DOMSTRING_SIZE_ERR= 2,
        HIERARCHY_REQUEST_ERR = 3,
        WRONG_DOCUMENT_ERR = 4,
        INVALID_CHARACTER_ERR = 5,
        NO_DATA_ALLOWED_ERR = 6,
        NO_MODIFICATION_ALLOWED_ERR = 7,
        NOT_FOUND_ERR = 8,
        NOT_SUPPORTED_ERR = 9,
        INUSE_ATTRIBUTE_ERR = 10
        };
public:
    CDomException(int nCode);
    ~CDomException();
public:
    CString ToString();
public:
    int GetExceptionCode() const;
    };

The exception thrown when a DOM/XDM operation is impossible to perform.

This class implements C++ binding for the DOMException interface specified by DOM.

Since:
1.00.00
Version:
1.50.00
Author:
Alexey Gokhberg
Constructor/Destructor Summary
CDomException (int nCode);
����������Constructs the DOM exception.
~CDomException ();
����������Destroys the DOM exception.

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

Constructor/Destructor Detail

CDomException

CDomException(int nCode);

Constructs the DOM exception.

Parameters:
nCode - the exception code

~CDomException

~CDomException();

Destroys the DOM exception.

Function Detail

ToString

CString ToString();

Returns the string representation of this DOM exception.

Returns:
the string representation of this DOM exception

GetExceptionCode

int GetExceptionCode();

Returns the code of this DOM exception.

This method implements C++ binding for the code attribute specified by DOM.

Returns:
the code of this DOM exception

Unicorn XML Toolkit
Version 1.50.00


This document was created using Unicorn DOC++.

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