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