Unicorn XML Toolkit
Version 1.00.00

Namespace XmlWriter
Class CBasicXmlWriterException

class CBasicXmlWriterException: public IException {
public:
    enum {
        invalidUri,
        cannotCreateOutputStream,
        undefinedPrefix
        };
public:
    CBasicXmlWriterException(int nCode);
    CBasicXmlWriterException(int nCode, const CString &strArg);
    CBasicXmlWriterException(
        int nCode,
        const CString &strArg1,
        const CString &strArg2);
    ~CBasicXmlWriterException();
public:
    CString ToString();
    };

The exception thrown by the standard XML writer.

Standard XML writers are generated by factories of CBasicXmlWriterFactory class.

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.

One or two optional informational strings may be associated with the exception.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
Constructor/Destructor Summary
CBasicXmlWriterException (int nCode);
����������Constructs the exception.
CBasicXmlWriterException (int nCode, const CString &strArg);
����������Constructs the exception with one informational string.
CBasicXmlWriterException (int nCode, const CString &strArg1, const CString &strArg2);
����������Constructs the exception with two informational strings.
~CBasicXmlWriterException ();
����������Destroys the exception.

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

Constructor/Destructor Detail

CBasicXmlWriterException

CBasicXmlWriterException(int nCode);

Constructs the exception.

Parameters:
nCode - the exception code

CBasicXmlWriterException

CBasicXmlWriterException(int nCode, const CString &strArg);

Constructs the exception with one informational string.

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

CBasicXmlWriterException

CBasicXmlWriterException(
    int nCode,
    const CString &strArg1,
    const CString &strArg2);

Constructs the exception with two informational strings.

Parameters:
nCode - the exception code
strArg1 - the first informational string
strArg2 - the second informational string

~CBasicXmlWriterException

~CBasicXmlWriterException();

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.