1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
66 /** |
66 /** |
67 Indicates the parser query is matched to more than one parser. |
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. |
68 This error can be returned only if the request is to leave in such a case - LeaveOnMany flag is set. |
69 */ |
69 */ |
70 const TInt KErrXmlMoreThanOneParserMatched = -17567; |
70 const TInt KErrXmlMoreThanOneParserMatched = -17567; |
71 |
71 const TInt KErrXmlStringTooBig = -17568; |
72 const TInt KErrXmlFirst = -17550; |
72 const TInt KErrXmlFirst = -17550; |
73 const TInt KErrXmlLast = -17599; |
73 const TInt KErrXmlLast = -17599; |
74 |
74 |
75 // Panic Codes |
|
76 |
75 |
77 /** |
|
78 Indicates various Panic error conditions within the framework. |
|
79 |
|
80 @internalTechnology |
|
81 */ |
|
82 enum TXmlFrameworkPanic |
|
83 { |
|
84 /** |
|
85 Indicates that a leave code other than that expected was received. |
|
86 */ |
|
87 EXmlFrameworkPanicUnexpectedLeaveCode = 0, |
|
88 |
|
89 /** |
|
90 Indicates that a state other than that expected was reached. |
|
91 */ |
|
92 EXmlFrameworkPanicUnexpectedState = 1, |
|
93 |
|
94 /** |
|
95 Indicates that logic other than that expected was reached. |
|
96 */ |
|
97 EXmlFrameworkPanicUnexpectedLogic = 2, |
|
98 |
|
99 /** |
|
100 Indicates that internal document positioning has gone beyond EOF and has failed. |
|
101 */ |
|
102 EXmlFrameworkPanicPositionMisallignment = 3, |
|
103 |
|
104 /** |
|
105 Indicates that a reference count has reached a negative value. |
|
106 */ |
|
107 EXmlFrameworkPanicReferenceCountNegative = 4, |
|
108 |
|
109 /** |
|
110 Pointer is null, cannot dereference. |
|
111 */ |
|
112 EXmlFrameworkPanicNullPointer = 5, |
|
113 |
|
114 }; |
|
115 |
|
116 /** |
|
117 This method panics the thread |
|
118 |
|
119 @param aError The reason for the panic |
|
120 @internalTechnology |
|
121 */ |
|
122 void Panic(TXmlFrameworkPanic aError); |
|
123 |
76 |
124 |
77 |
125 } |
78 } |
126 |
79 |
|
80 |
127 |
81 |
128 #endif // __XMLFRAMEWORKERRORS_H__ |
82 #endif // __XMLFRAMEWORKERRORS_H__ |