Update contrib.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #ifndef __CHCNVPANIC_H__
20 #define __CHCNVPANIC_H__
26 EPanicDestructionDuringConversion=1,
27 EPanicBadTlsDataReferenceCount,
29 EPanicBadToggleOfCurrentCharacterSetConverter,
31 EPanicNotPastFlagPoleForReAllocation,
32 EPanicReAllocatedCellMoved,
33 EPanicNegativeNumberOfBytes,
34 EPanicInconsistentFileReader1,
35 EPanicInconsistentFileReader2,
36 EPanicInconsistentFileReader3,
37 EPanicInconsistentFileReader4,
38 EPanicInconsistentFileReader5,
39 EPanicInconsistentFileReader6,
40 EPanicInconsistentFileReader7,
41 EPanicInconsistentFileReader8,
42 EPanicInconsistentFileReader9,
43 EPanicInconsistentFileReader10,
44 EPanicInconsistentFileReader11,
45 EPanicInconsistentFileReader12,
46 EPanicInconsistentFileReader13,
47 EPanicInconsistentFileReader14,
48 EPanicInconsistentFileReader15,
49 EPanicInconsistentFileReader16,
50 EPanicInconsistentFileReader17,
51 EPanicInconsistentFileReader18,
52 EPanicNegativeBufferLength1,
53 EPanicNegativeBufferLength2,
54 EPanicCharacterSetAlreadyAdded,
55 EPanicNotInitialisedToNull1,
56 EPanicNotInitialisedToNull2,
57 EPanicCharacterSetsNotSorted,
58 EPanicNotInitialisedToZero1,
59 EPanicNotInitialisedToZero2,
60 EPanicPointerPastUpperLimit1,
61 EPanicPointerPastUpperLimit2,
62 EPanicPointerPastUpperLimit3,
63 EPanicPointerPastUpperLimit4,
64 EPanicPointerPastUpperLimit5,
65 EPanicPointerPastUpperLimit6,
66 EPanicPointerPastUpperLimit7,
67 EPanicPointerPastUpperLimit8,
68 EPanicPointerPastUpperLimit9,
69 EPanicPointerPastUpperLimit10,
70 EPanicPointerPastUpperLimit11,
71 EPanicPointerPastUpperLimit12,
72 EPanicPointerPastUpperLimit13,
73 EPanicPointerPastUpperLimit14,
74 EPanicPointerPastUpperLimit15,
75 EPanicPointerPastUpperLimit16,
76 EPanicPointerPastUpperLimit17,
77 EPanicPointerPastUpperLimit18,
78 EPanicPointerPastUpperLimit19,
79 EPanicPointerPastUpperLimit20,
80 EPanicPointerPastUpperLimit21,
81 EPanicPointerPastUpperLimit22,
82 EPanicPointerPastUpperLimit23,
83 EPanicPointerPastUpperLimit24,
84 EPanicPointerPastUpperLimit25,
85 EPanicBadDefaultEndiannessOfForeignCharacters,
86 EPanicBadDowngradeForExoticLineTerminatingCharacters1,
87 EPanicBadDowngradeForExoticLineTerminatingCharacters2,
88 EPanicNullCharacterSetIdentifier1,
89 EPanicNullCharacterSetIdentifier2,
90 EPanicNullCharacterSetIdentifier3,
91 EPanicNameIsNotFileName,
92 EPanicNotReachedEndOfFile,
93 EPanicNoReplacementForUnconvertibleUnicodeCharacters,
94 EPanicNoConversionData1,
95 EPanicNoConversionData2,
96 EPanicInputCharacterCodeNotInRange,
99 EPanicEmptyKeyedTable1616,
100 EPanicEmptyKeyedTable3232,
103 EPanicEmptyKeyedTable16OfIndexedTables16,
104 EPanicEmptyKeyedTable32OfIndexedTables32,
109 EPanicCrossedPointers,
110 EPanicBadNumberOfRanges1,
111 EPanicBadNumberOfRanges2,
112 EPanicBadNumberOfRanges3,
113 EPanicBadNumberOfRanges4,
114 EPanicBadNumberOfRanges5,
115 EPanicPointerPastLowerLimit1,
116 EPanicPointerPastLowerLimit2,
117 EPanicBadNon16BitCharacterCode1,
118 EPanicBadNon16BitCharacterCode2,
119 EPanicBadSizeOfForeignOutputCharacterCode,
120 EPanicBadEndianness1,
121 EPanicBadEndianness2,
122 EPanicBadEndianness3,
123 EPanicBadNumberOfRemainingForeignBytes1,
124 EPanicBadNumberOfRemainingForeignBytes2,
125 EPanicBadNumberOfSubsequentBytes,
127 EPanicDuplicateIndexOrNotAscending,
128 EPanicBadNumberOfUnconvertibleCharacters,
129 EPanicCharacterSetNotPresent,
130 EPanicCharacterSetConverterNotDestroyed,
131 EPanicNullCharacterSetIdentifier4,
132 EPanicCharacterSetConverterNotLoaded
135 _LIT(KLitPanicText, "CHARCONV");
137 inline void Panic(TPanic aPanic)
139 User::Panic(KLitPanicText, aPanic);
142 #endif //__CHCNVPANIC_H__