epoc32/include/xml/xmlframeworkerrors.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@2
     1
// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     2
// All rights reserved.
williamr@2
     3
// This component and the accompanying materials are made available
williamr@4
     4
// under the terms of "Eclipse Public License v1.0"
williamr@2
     5
// which accompanies this distribution, and is available
williamr@4
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@2
     7
//
williamr@2
     8
// Initial Contributors:
williamr@2
     9
// Nokia Corporation - initial contribution.
williamr@2
    10
//
williamr@2
    11
// Contributors:
williamr@2
    12
//
williamr@2
    13
// Description:
williamr@2
    14
//
williamr@2
    15
williamr@2
    16
#ifndef __XMLFRAMEWORKERRORS_H__
williamr@2
    17
#define __XMLFRAMEWORKERRORS_H__
williamr@2
    18
williamr@2
    19
/**
williamr@2
    20
@file
williamr@2
    21
williamr@2
    22
This file contains allocated error codes and
williamr@2
    23
generic Panic error messages and the Panic function.
williamr@2
    24
The XmlFramework has been allocated error codes in the range: -17550 to -17599 
williamr@2
    25
williamr@2
    26
@publishedAll
williamr@2
    27
@released
williamr@2
    28
*/
williamr@2
    29
williamr@2
    30
#include <e32base.h>
williamr@2
    31
williamr@2
    32
namespace Xml
williamr@2
    33
{
williamr@2
    34
williamr@2
    35
// Leave Codes
williamr@2
    36
williamr@2
    37
// ECom related
williamr@2
    38
williamr@2
    39
const TInt KErrXmlStringDictionaryPluginNotFound	= -17550;
williamr@2
    40
const TInt KErrXmlParserPluginNotFound				= -17551;
williamr@2
    41
const TInt KErrXmlGeneratorPluginNotFound			= -17552;
williamr@2
    42
const TInt KErrXmlPluginNotFound					= -17553;
williamr@2
    43
williamr@2
    44
// CCharSetConverter
williamr@2
    45
williamr@2
    46
const TInt KErrXmlBadCharacterConversion			= -17554;
williamr@2
    47
const TInt KErrXmlUnsupportedCharacterSet			= -17555;
williamr@2
    48
const TInt KErrXmlUnavailableCharacterSet			= -17556;
williamr@2
    49
williamr@2
    50
// MStringDictionary
williamr@2
    51
williamr@2
    52
const TInt KErrXmlUnsupportedElement				= -17557;
williamr@2
    53
const TInt KErrXmlUnsupportedAttribute				= -17558;
williamr@2
    54
const TInt KErrXmlUnsupportedAttributeValue			= -17559;
williamr@2
    55
const TInt KErrXmlMissingStringDictionary			= -17560;
williamr@2
    56
williamr@2
    57
// General
williamr@2
    58
williamr@2
    59
const TInt KErrXmlUnsupportedDocumentVersion		= -17561;
williamr@2
    60
const TInt KErrXmlDocumentCorrupt					= -17562;
williamr@2
    61
const TInt KErrXmlStringPoolTableNotFound			= -17563;
williamr@2
    62
const TInt KErrXmlBadIndex							= -17564;
williamr@2
    63
const TInt KErrXmlUnsupportedExtInterface			= -17566;
williamr@2
    64
williamr@2
    65
// Custom resolver related
williamr@2
    66
/**
williamr@2
    67
Indicates the parser query is matched to more than one parser. 
williamr@2
    68
This error can be returned only if the request is to leave in such a case - LeaveOnMany flag is set.
williamr@2
    69
*/
williamr@2
    70
const TInt KErrXmlMoreThanOneParserMatched			= -17567;
williamr@4
    71
const TInt KErrXmlStringTooBig                      = -17568;
williamr@2
    72
const TInt KErrXmlFirst                             = -17550;
williamr@2
    73
const TInt KErrXmlLast                              = -17599;
williamr@2
    74
williamr@2
    75
williamr@2
    76
williamr@2
    77
williamr@2
    78
}
williamr@2
    79
williamr@4
    80
 
williamr@2
    81
williamr@2
    82
#endif // __XMLFRAMEWORKERRORS_H__