|
1 /* |
|
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * e32\include\e32panic.h |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __E32PANIC_H__ |
|
22 #define __E32PANIC_H__ |
|
23 |
|
24 |
|
25 /** |
|
26 * @file |
|
27 * @internalComponent |
|
28 */ |
|
29 |
|
30 |
|
31 /** |
|
32 Defines a set of panic numbers associated with the USER panic category. |
|
33 |
|
34 Some of these numbers are also associated with panics raised on |
|
35 the kernel side, and may be associated with |
|
36 a number of category names, including KERN-COMMON, KERN-HEAP etc. |
|
37 */ |
|
38 enum TCdtPanic |
|
39 { |
|
40 |
|
41 /** |
|
42 A thread has called User::Invariant(). |
|
43 |
|
44 Typically, User::Invariant() is called when a test for a class |
|
45 invariant fails, i.e. when a test which checks that the internal data |
|
46 of an object is self-consistent, fails. |
|
47 |
|
48 Check the design and implementation of your class. |
|
49 |
|
50 @see User |
|
51 */ |
|
52 EInvariantFalse=0, |
|
53 |
|
54 |
|
55 /** |
|
56 Not used. |
|
57 */ |
|
58 ETDateTimeUnderflow=1, |
|
59 |
|
60 |
|
61 |
|
62 /** |
|
63 Not used. |
|
64 */ |
|
65 ETDateTimeBadDate=2, |
|
66 |
|
67 |
|
68 /** |
|
69 A TDateTime object has been constructed with an invalid date or time field. |
|
70 |
|
71 @see TDateTime |
|
72 */ |
|
73 ETDateTimeBadDateTime=3, |
|
74 |
|
75 |
|
76 /** |
|
77 Not used. |
|
78 */ |
|
79 ETDateTimeAddDaysRange=4, |
|
80 |
|
81 |
|
82 /** |
|
83 Not used. |
|
84 */ |
|
85 ETDateTimeAddMonthsRange=5, |
|
86 |
|
87 |
|
88 /** |
|
89 Not used. |
|
90 */ |
|
91 ETDateTimeDaySecNegative=6, |
|
92 |
|
93 |
|
94 /** |
|
95 A panic raised by the Ptr() member function of a 16-bit descriptor |
|
96 if the descriptor is invalid. |
|
97 |
|
98 @see TDesC16::Ptr() |
|
99 */ |
|
100 ETDes16BadDescriptorType=7, |
|
101 |
|
102 |
|
103 /** |
|
104 The length value passed to a 16-bit variant descriptor member |
|
105 function is invalid. |
|
106 |
|
107 This panic may be raised by some descriptor constructors and, specifically, |
|
108 by the Replace() and Set() descriptor member functions. |
|
109 |
|
110 @see TDes16 |
|
111 */ |
|
112 ETDes16LengthOutOfRange=8, |
|
113 |
|
114 |
|
115 /** |
|
116 The index value passed to the 16-bit variant descriptor Operator[] is |
|
117 out of bounds. |
|
118 */ |
|
119 ETDes16IndexOutOfRange=9, |
|
120 |
|
121 |
|
122 /** |
|
123 The position value passed to a 16-bit variant descriptor member function |
|
124 is out of bounds. |
|
125 |
|
126 The panic can be raised by the Left(), Right(), Mid(), Insert(), Delete() |
|
127 and Replace() member functions of TDes16. |
|
128 |
|
129 @see TDes16 |
|
130 */ |
|
131 ETDes16PosOutOfRange=10, |
|
132 |
|
133 |
|
134 /** |
|
135 An operation to move or copy data to a 16-bit variant descriptor, |
|
136 will cause the length of that descriptor to exceed its maximum length. |
|
137 |
|
138 This may be caused by any of the copying, appending or formatting member |
|
139 functions but, specifically, by the Insert(), Replace(), Fill(), Fillz(), |
|
140 and ZeroTerminate() descriptor member functions. It can also be caused by |
|
141 the SetLength() function. |
|
142 |
|
143 @see TDes16 |
|
144 */ |
|
145 ETDes16Overflow=11, |
|
146 |
|
147 |
|
148 /** |
|
149 The format string passed to the 16-bit variant descriptor member functions |
|
150 Format() and AppendFormat() has incorrect syntax. |
|
151 |
|
152 @see TDes16 |
|
153 */ |
|
154 ETDes16BadFormatDescriptor=12, |
|
155 |
|
156 |
|
157 /** |
|
158 An invalid variable list has been passed to the AppendFormatList() member |
|
159 function of the 16-bit variant descriptor TDes16, when the format is %S or %s. |
|
160 |
|
161 This panic is raised in debug builds only. |
|
162 |
|
163 @see TDes16 |
|
164 */ |
|
165 ETDes16BadFormatParams=13, |
|
166 |
|
167 |
|
168 /** |
|
169 This panic is raised when expanding or contracting an HBufC16 buffer using |
|
170 the ReAlloc() or ReAllocL() descriptor member functions and the new |
|
171 specified length is too small to contain the data. |
|
172 |
|
173 @see HBufC16 |
|
174 */ |
|
175 ETDes16ReAllocTooSmall=14, |
|
176 |
|
177 |
|
178 /** |
|
179 Not used. |
|
180 */ |
|
181 ETDes16RemoteBadDescriptorType=15, |
|
182 |
|
183 |
|
184 /** |
|
185 In a call to the Replace() member function of the 16-bit variant |
|
186 descriptor TDes16,the length of the source descriptor is negative |
|
187 or exceeds the maximum length of the target descriptor. |
|
188 |
|
189 @see TDes16 |
|
190 */ |
|
191 ETDes16RemoteLengthOutOfRange=16, |
|
192 |
|
193 |
|
194 /** |
|
195 A 16-bit variant descriptor is being constructed with a negative |
|
196 length value. |
|
197 |
|
198 This panic may also be raised if the Set(), Repeat() and the Find() member |
|
199 functions are passed negative length values. |
|
200 */ |
|
201 ETDes16LengthNegative=17, |
|
202 |
|
203 |
|
204 /** |
|
205 A 16-bit variant descriptor is being constructed with a negative maximum |
|
206 length value. |
|
207 */ |
|
208 ETDes16MaxLengthNegative=18, |
|
209 |
|
210 |
|
211 /** |
|
212 A panic raised by the Ptr() member function of an 8-bit descriptor |
|
213 if the descriptor is invalid. |
|
214 |
|
215 @see TDesC8::Ptr() |
|
216 */ |
|
217 ETDes8BadDescriptorType=19, |
|
218 |
|
219 |
|
220 /** |
|
221 The length value passed to an 8-bit variant descriptor member |
|
222 function is invalid. |
|
223 |
|
224 This panic may be raised by some descriptor constructors and, specifically, |
|
225 by the Replace() and Set() descriptor member functions. |
|
226 |
|
227 @see TDes8 |
|
228 */ |
|
229 ETDes8LengthOutOfRange=20, |
|
230 |
|
231 |
|
232 /** |
|
233 The index value passed to the 8-bit variant descriptor Operator[] is |
|
234 out of bounds. |
|
235 */ |
|
236 ETDes8IndexOutOfRange=21, |
|
237 |
|
238 |
|
239 /** |
|
240 The position value passed to an 8-bit variant descriptor member function |
|
241 is out of bounds. |
|
242 |
|
243 The panic can be raised by the Left(), Right(), Mid(), Insert(), Delete() |
|
244 and Replace() member functions of TDes8 |
|
245 |
|
246 @see TDes8 |
|
247 */ |
|
248 ETDes8PosOutOfRange=22, |
|
249 |
|
250 |
|
251 /** |
|
252 An operation to move or copy data to an 8-bit variant descriptor, |
|
253 will cause the length of that descriptor to exceed its maximum length. |
|
254 |
|
255 This may be caused by any of the copying, appending or formatting member |
|
256 functions but, specifically, by the Insert(), Replace(), Fill(), Fillz(), |
|
257 and ZeroTerminate() descriptor member functions. It can also be caused by |
|
258 the SetLength() function. |
|
259 |
|
260 @see TDes8 |
|
261 */ |
|
262 ETDes8Overflow=23, |
|
263 |
|
264 |
|
265 /** |
|
266 The format string passed to the 8-bit variant descriptor member functions |
|
267 Format() and AppendFormat() has incorrect syntax. |
|
268 |
|
269 @see TDes8 |
|
270 */ |
|
271 ETDes8BadFormatDescriptor=24, |
|
272 |
|
273 |
|
274 /** |
|
275 An invalid variable list has been passed to the AppendFormatList() member |
|
276 function of the 8-bit variant descriptor TDes8, when the format is %S or %s. |
|
277 |
|
278 This panic is raised in debug builds only. |
|
279 |
|
280 @see TDes8 |
|
281 */ |
|
282 ETDes8BadFormatParams=25, |
|
283 |
|
284 |
|
285 /** |
|
286 This panic is raised when expanding or contracting an HBufC8 buffer using |
|
287 the ReAlloc() or ReAllocL() descriptor member functions and the new |
|
288 specified length is too small to contain the data. |
|
289 |
|
290 @see HBufC8 |
|
291 */ |
|
292 ETDes8ReAllocTooSmall=26, |
|
293 |
|
294 |
|
295 /** |
|
296 Not used. |
|
297 */ |
|
298 ETDes8RemoteBadDescriptorType=27, |
|
299 |
|
300 |
|
301 |
|
302 /** |
|
303 In a call to the Replace() member function of the 8-bit variant |
|
304 descriptor TDes8,the length of the source descriptor is negative |
|
305 or exceeds the maximum length of the target descriptor. |
|
306 |
|
307 @see TDes8 |
|
308 */ |
|
309 ETDes8RemoteLengthOutOfRange=28, |
|
310 |
|
311 |
|
312 /** |
|
313 An 8-bit variant descriptor is being constructed with a negative |
|
314 length value. |
|
315 |
|
316 This panic may also be raised if the Set(), Repeat() and the Find() member |
|
317 functions are passed negative length values. |
|
318 */ |
|
319 ETDes8LengthNegative=29, |
|
320 |
|
321 |
|
322 /** |
|
323 An 8-bit variant descriptor is being constructed with a negative maximum |
|
324 length value. |
|
325 */ |
|
326 ETDes8MaxLengthNegative=30, |
|
327 |
|
328 |
|
329 /** |
|
330 Not used. |
|
331 */ |
|
332 ETEntLeaveWithoutEnter=31, |
|
333 |
|
334 |
|
335 /** |
|
336 It is raised by TRawEvent::Pos() when |
|
337 the event is not a mouse/pen type event. |
|
338 |
|
339 This panic is raised in debug builds only. |
|
340 */ |
|
341 ETEventNotMoveType=32, |
|
342 |
|
343 |
|
344 /** |
|
345 It is raised by TRawEvent::ScanCode() when |
|
346 the event is not a key down or key up event. |
|
347 |
|
348 This panic is raised in debug builds only. |
|
349 */ |
|
350 ETEventNotKeyType=33, |
|
351 |
|
352 |
|
353 /** |
|
354 It is raised by TRawEvent::Modifiers() when |
|
355 the event is not a modifier update event. |
|
356 |
|
357 This panic is raised in debug builds only. |
|
358 */ |
|
359 ETEventNotUpdateModifiersType=34, |
|
360 |
|
361 |
|
362 /** |
|
363 This panic is raised by the default At() virtual member function of TKey. |
|
364 |
|
365 The function is intended to be overridden by a derived class. |
|
366 |
|
367 @see TKey |
|
368 */ |
|
369 ETFuncTKeyVirtualAt=35, |
|
370 |
|
371 |
|
372 /** |
|
373 This panic is raised by the default Swap() virtual member function of TSwap. |
|
374 |
|
375 The function is intended to be overridden by a derived class. |
|
376 |
|
377 @see TSwap |
|
378 */ |
|
379 ETFuncTSwapVirtualSwap=36, |
|
380 |
|
381 |
|
382 /** |
|
383 The index value passed to the operator[] of a TUidType is negative |
|
384 or is greater than or equal to KMaxCheckedUid. |
|
385 |
|
386 @see KMaxCheckedUid |
|
387 @see TUidType |
|
388 */ |
|
389 ETFuncUidTypeBadIndex=37, |
|
390 |
|
391 |
|
392 /** |
|
393 The length of the descriptor passed to the Set(TDesC8&) member function of TCheckedUid |
|
394 is not equal to the size of a TCheckedUid object. |
|
395 |
|
396 @see TCheckedUid |
|
397 */ |
|
398 ETFuncCheckedUidBadSet=38, |
|
399 |
|
400 |
|
401 /** |
|
402 The size specified of a new heap is smaller than the permitted minimum; |
|
403 it must be at least the size of a RHeap object. |
|
404 |
|
405 On the user side this is associated with the USER category; on the kernel side |
|
406 this is associated with the KERN-HEAP category. |
|
407 */ |
|
408 ETHeapNewBadSize=39, |
|
409 |
|
410 |
|
411 /** |
|
412 Not used. |
|
413 */ |
|
414 ETHeapCreateSizeTooSmall=40, |
|
415 |
|
416 |
|
417 /** |
|
418 In a call to UserHeap::ChunkHeap(), the value defining the minimum length |
|
419 of the heap is greater than the value defining the maximum length to |
|
420 which the heap can grow. |
|
421 |
|
422 @see UserHeap |
|
423 */ |
|
424 ETHeapCreateMaxLessThanMin=41, |
|
425 |
|
426 |
|
427 /** |
|
428 In a call to the RHeap member functions, AllocLen(), Free(), FreeZ(), |
|
429 ReAlloc(), ReAllocL(), Adjust() and AdjustL(), a pointer passed to these |
|
430 functions does not point to a valid cell. |
|
431 |
|
432 On the user side this is associated with the USER category; on the kernel side |
|
433 this is associated with the KERN-HEAP category. |
|
434 */ |
|
435 ETHeapBadCellAddress=42, |
|
436 |
|
437 |
|
438 /** |
|
439 In a call to the Adjust() and AdjustL() member functions of RHeap, a heap |
|
440 cell is being shrunk and the amount by which the cell is being shrunk |
|
441 is less than the current length of the cell. |
|
442 */ |
|
443 ETHeapAdjustTooSmall=43, |
|
444 |
|
445 |
|
446 /** |
|
447 In a call to the Free() and FreeZ() member functions of RHeap,the cell |
|
448 being freed overlaps the next cell on the free list (i.e. the first cell |
|
449 on the free list with an address higher than the one being freed). |
|
450 */ |
|
451 ETHeapFreeBadNextCell=44, |
|
452 |
|
453 |
|
454 /** |
|
455 In a call to the Free() and FreeZ() member functions of RHeap, the cell |
|
456 being freed overlaps the previous cell on the free list (i.e. the last cell |
|
457 on the free list with an address lower than the one being freed). |
|
458 */ |
|
459 ETHeapFreeBadPrevCell=45, |
|
460 |
|
461 |
|
462 /** |
|
463 In a call to the ReAlloc() and ReAllocL() member functions of RHeap, the |
|
464 cell being reallocated overlaps the next cell on the free list (i.e. the |
|
465 first cell on the free list with an address higher than the one being |
|
466 reallocated). |
|
467 */ |
|
468 ETHeapReAllocBadNextCell=46, |
|
469 |
|
470 |
|
471 /** |
|
472 In a call to the Alloc(), AllocL() or AllocLC() member functions of RHeap, |
|
473 an attempt has been made to allocate a cell from a heap, using an unsigned |
|
474 size value which is greater than or equal to the value of KMaxTInt/2. |
|
475 |
|
476 This panic may also be raised by the heap walker when it finds a bad |
|
477 allocated heap cell size. |
|
478 |
|
479 @see User::Check() |
|
480 @see RAllocator::Check() |
|
481 @see KMaxTInt |
|
482 */ |
|
483 ETHeapBadAllocatedCellSize=47, |
|
484 |
|
485 |
|
486 /** |
|
487 This panic is raised by the heap walker when it finds a bad |
|
488 allocated heap cell address. |
|
489 */ |
|
490 ETHeapBadAllocatedCellAddress=48, |
|
491 |
|
492 |
|
493 /** |
|
494 This panic is raised by the heap walker when it finds a bad |
|
495 free heap cell address. |
|
496 */ |
|
497 ETHeapBadFreeCellAddress=49, |
|
498 |
|
499 |
|
500 /** |
|
501 Not used. |
|
502 */ |
|
503 ETHeapDebugBufferOverflow=50, |
|
504 |
|
505 |
|
506 /** |
|
507 A call has been made to the __DbgMarkEnd() member function of RHeap, when |
|
508 there has been no corresponding call to the __DbgMarkStart() member function. |
|
509 |
|
510 This panic is also raised when there are more calls to __DbgMarkEnd() than |
|
511 to __DbgMarkStart(). These functions are part of the debug assistance provided by |
|
512 the RHeap class. |
|
513 |
|
514 This panic is raised in debug builds only. |
|
515 */ |
|
516 ETHeapDebugUnmatchedCallToCheckHeap=51, |
|
517 |
|
518 |
|
519 /** |
|
520 In a call to the Adjust() and AdjustL() member functions of an RHeap, |
|
521 the offset from the start of the cell being stretched or shrunk is |
|
522 a negative value. |
|
523 */ |
|
524 ETHeapAdjustOffsetNegative=52, |
|
525 |
|
526 |
|
527 /** |
|
528 Not used. |
|
529 */ |
|
530 ETHeapAllocSizeNegative=53, |
|
531 |
|
532 |
|
533 /** |
|
534 In a call to the ReAlloc() and ReAllocL() member functions of an RHeap, |
|
535 the new size for the cell being reallocated is a negative value. |
|
536 */ |
|
537 ETHeapReAllocSizeNegative=54, |
|
538 |
|
539 |
|
540 /** |
|
541 This panic is caused by the UserHeap::ChunkHeap() static function when |
|
542 the value defining the minimum length of the heap is negative. |
|
543 */ |
|
544 ETHeapMinLengthNegative=55, |
|
545 |
|
546 |
|
547 /** |
|
548 This panic is caused by the UserHeap::ChunkHeap() static function when |
|
549 the value defining the maximum length to which the heap can grow, |
|
550 is negative. |
|
551 */ |
|
552 ETHeapMaxLengthNegative=56, |
|
553 |
|
554 |
|
555 /** |
|
556 This panic is raised when closing a shared heap using the Close() member |
|
557 function of RHeap and the access count is zero or negative. |
|
558 |
|
559 A zero or negative access count suggests that an attempt is being made |
|
560 to close the heap too many times. |
|
561 */ |
|
562 EAllocatorClosedTooManyTimes=57, |
|
563 |
|
564 |
|
565 /** |
|
566 This panic is raised when opening a heap for shared access using the Open() |
|
567 member function of RHeap and the heap type is not EChunkNormal. |
|
568 */ |
|
569 ETHeapOnlyChunkHeaps=58, |
|
570 |
|
571 |
|
572 /** |
|
573 This panic is raised by the UnGet() member function of the 8-bit variant |
|
574 lexical analyzer, TLex8, if the character position is already at |
|
575 the start of the string. |
|
576 |
|
577 @see TLex8 |
|
578 */ |
|
579 ETLex8UnGetUnderflow=59, |
|
580 |
|
581 |
|
582 /** |
|
583 This panic is raised by the Inc() member function of the 8-bit variant |
|
584 lexical analyzer, TLex8, if the resulting character position lies before |
|
585 the start of the string or after the end of the string. |
|
586 |
|
587 @see TLex8 |
|
588 */ |
|
589 ETLex8IncOutOfRange=60, |
|
590 |
|
591 |
|
592 /** |
|
593 This panic is raised by the SkipAndMark() member function of the 8-bit |
|
594 variant lexical analyzer, TLex8, if the resulting character position lies |
|
595 before the start of the string, or after the end of the string. |
|
596 |
|
597 @see TLex8 |
|
598 */ |
|
599 ETLex8SkipOutOfRange=61, |
|
600 |
|
601 |
|
602 /** |
|
603 Not used. |
|
604 */ |
|
605 ETLex8BadFormatList=62, |
|
606 |
|
607 |
|
608 /** |
|
609 This panic is raised by the ValidateMark() member function of the 8-bit |
|
610 variant lexical analyzer, TLex8, if the position of the extraction mark |
|
611 lies before the start of the string or after the end of the string. |
|
612 |
|
613 @see TLex8 |
|
614 */ |
|
615 ETLex8MarkOutOfRange=63, |
|
616 |
|
617 |
|
618 /** |
|
619 This panic is raised by the UnGet() member function of the 16-bit variant |
|
620 lexical analyzer, TLex16, if the character position is already at the start |
|
621 of the string. |
|
622 |
|
623 @see TLex16 |
|
624 */ |
|
625 ETLex16UnGetUnderflow=64, |
|
626 |
|
627 |
|
628 /** |
|
629 This panic is raised by the Inc() member function of the 16-bit variant |
|
630 lexical analyzer, TLex16, if the resulting character position lies before |
|
631 the start of the string or after the end of the string. |
|
632 |
|
633 @see TLex16 |
|
634 */ |
|
635 ETLex16IncOutOfRange=65, |
|
636 |
|
637 |
|
638 /** |
|
639 This panic is raised by the SkipAndMark() member function of the 16-bit |
|
640 variant lexical analyzer, TLex16, if the resulting character position lies |
|
641 before the start of the string or after the end of the string. |
|
642 |
|
643 @see TLex16 |
|
644 */ |
|
645 ETLex16SkipOutOfRange=66, |
|
646 |
|
647 |
|
648 /** |
|
649 Not used. |
|
650 */ |
|
651 ETLex16BadFormatList=67, |
|
652 |
|
653 |
|
654 /** |
|
655 This panic is raised by the ValidateMark() member function of the 16-bit |
|
656 variant lexical analyzer, TLex16, if the position of the extraction mark |
|
657 lies before the start of the string or after the end of the string. |
|
658 |
|
659 @see TLex16 |
|
660 */ |
|
661 ETLex16MarkOutOfRange=68, |
|
662 |
|
663 |
|
664 /** |
|
665 This panic is raised by the TDateSuffix constructor or its Set() member |
|
666 function when the suffix index specified is negative or is greater than or |
|
667 equal to the value KMaxSuffixes. |
|
668 |
|
669 The index is used to access a locale dependent table of suffix characters, |
|
670 which can be appended to the dates of the month (e.g. the characters "st" |
|
671 for 1st, "nd" for 2nd, "st" for 31st). |
|
672 |
|
673 @see TDateSuffix |
|
674 @see KMaxSuffixes |
|
675 */ |
|
676 ETLoclSuffixOutOfRange=69, |
|
677 |
|
678 |
|
679 /** |
|
680 This panic is raised when attempting to complete a client/server request |
|
681 and the RMessagePtr is null. |
|
682 */ |
|
683 ETMesCompletion=70, |
|
684 |
|
685 |
|
686 /** |
|
687 Not used. |
|
688 */ |
|
689 EMesBadRetryCount=71, |
|
690 |
|
691 |
|
692 /** |
|
693 This panic is raised by the Send() and SendReceive() member functions |
|
694 of RSessionBase, the client interface for communication with a server, |
|
695 when the specified operation code identifying the required service is |
|
696 either negative or a value greater than KMaxTint. |
|
697 |
|
698 @see RSessionBase |
|
699 @see KMaxTint |
|
700 */ |
|
701 ETMesBadFunctionNumber=72, |
|
702 |
|
703 |
|
704 /** |
|
705 This panic is raised by the Receive() member function of RServer, |
|
706 the handle to the server, when the attempt to receive a message |
|
707 for the server, synchronously, fails. |
|
708 |
|
709 @see RServer |
|
710 */ |
|
711 ETMesReceiveFailed=73, |
|
712 |
|
713 |
|
714 /** |
|
715 Not used. |
|
716 */ |
|
717 ESQueOffsetNegative=74, |
|
718 |
|
719 |
|
720 /** |
|
721 This panic is raised by the constructor of a singly linked list header, |
|
722 a TSglQue or by the SetOffset() member function when the specified offset |
|
723 is not 4 byte aligned, i.e. when it is not divisible by 4. |
|
724 |
|
725 @see TSglQue |
|
726 */ |
|
727 ESQueOffsetNotAligned=75, |
|
728 |
|
729 |
|
730 /** |
|
731 This panic is raised when attempting to remove an object from a singly |
|
732 linked list, using the Remove() member function of TSglQue, when |
|
733 that object is not in the list. |
|
734 |
|
735 @see TSglQue |
|
736 */ |
|
737 ESQueLinkNotQueued=76, |
|
738 |
|
739 |
|
740 /** |
|
741 Not used. |
|
742 */ |
|
743 ETQueOffsetNegative=77, |
|
744 |
|
745 |
|
746 /** |
|
747 This panic is raised by the constructor of a doubly linked list header, |
|
748 a TDblQue or by the SetOffset() member function, when the specified |
|
749 offset is not 4 byte aligned, i.e. when it is not divisible by 4. |
|
750 |
|
751 @see TDblQue |
|
752 */ |
|
753 ETQueOffsetNotAligned=78, |
|
754 |
|
755 |
|
756 /** |
|
757 This panic is raised by a call to either the First() or the Last() member |
|
758 functions of a doubly linked list, a TDblQue, which return pointers |
|
759 to the first and last element in the list respectively; the panic |
|
760 occurs when the list is empty. |
|
761 |
|
762 This panic is raised in debug builds only. |
|
763 |
|
764 @see TDblQue |
|
765 */ |
|
766 ETQueQueueEmpty=79, |
|
767 |
|
768 |
|
769 /** |
|
770 This panic is raised by the post increment operator, operator++, the post |
|
771 decrement operator, operator- and the return current element |
|
772 operator, operator T*, of the doubly linked list iterator, a TDblQueIter; |
|
773 the panic occurs when the element returned by these operators is not in |
|
774 the list. |
|
775 |
|
776 Typically, this is caused by the removal of the element from the list prior |
|
777 to calling these operators. |
|
778 |
|
779 This panic is raised in debug builds only. |
|
780 |
|
781 @see TDblQueIter |
|
782 */ |
|
783 ETQueLinkHasBeenRemoved=80, |
|
784 |
|
785 |
|
786 /** |
|
787 This panic is raised by the get rectangle operator, operator[], of |
|
788 a clipping region, derived from the abstract base class TRegion. |
|
789 |
|
790 The panic occurs when the index, which refers to the specific rectangle |
|
791 within the region, is greater than or equal to the number of rectangles |
|
792 contained within the region (as returned by the Count() member function). |
|
793 |
|
794 The index must be strictly less than the number of contained rectangles. |
|
795 |
|
796 @see TRegion |
|
797 */ |
|
798 ETRegionOutOfRange=81, |
|
799 |
|
800 |
|
801 /** |
|
802 This panic is raised when sorting the rectangles within a clipping region, |
|
803 derived from the abstract base class TRegion, using the Sort() member |
|
804 function of TRegion. |
|
805 |
|
806 The panic occurs when the region is invalid. |
|
807 |
|
808 This panic is raised in debug builds only. |
|
809 |
|
810 @see TRegion |
|
811 */ |
|
812 ETRegionInvalidRegionInSort=82, |
|
813 |
|
814 |
|
815 /** |
|
816 This panic occurs when the Kernel sends a message to the Kernel server |
|
817 and this completes with an error, i.e. an error code which is not KErrNone. |
|
818 */ |
|
819 ETUtlKernelServerSend=83, |
|
820 |
|
821 |
|
822 /** |
|
823 This panic is raised by the Panic() member function of RTest, the test class. |
|
824 */ |
|
825 ERTestFailed=84, |
|
826 |
|
827 |
|
828 /** |
|
829 This panic is raised by the CheckConsoleCreated() member functions of |
|
830 RTest and RTestJ, the test classes, when the creation of a console, |
|
831 as derived from a CConsoleBase, fails. |
|
832 */ |
|
833 ERTestCreateConsole=85, |
|
834 |
|
835 |
|
836 /** |
|
837 This panic is raised by the static function User::After() when |
|
838 the specified time interval is negative. |
|
839 */ |
|
840 EExecAfterTimeNegative=86, |
|
841 |
|
842 |
|
843 /** |
|
844 This panic is raised when the time interval passed to the After() member |
|
845 function of RTimer is negative. |
|
846 |
|
847 @see RTimer |
|
848 */ |
|
849 ERTimerAfterTimeNegative=87, |
|
850 |
|
851 |
|
852 /** |
|
853 This panic is raised by Mem::Compare(), Mem::CompareC() and Mem::CompareF() |
|
854 when the length of the area of memory designated as the left hand area, |
|
855 is negative. |
|
856 |
|
857 This panic is raised in debug builds only. |
|
858 |
|
859 On the user side this is associated with the USER category; on the kernel side |
|
860 this is associated with the KERN-COMMON category. |
|
861 |
|
862 @see Mem |
|
863 */ |
|
864 EMemLeftNegative=88, |
|
865 |
|
866 |
|
867 /** |
|
868 This panic is raised by Mem::Compare(), Mem::CompareC() and Mem::CompareF() |
|
869 when the length of the area of memory designated as the right hand area, |
|
870 is negative. |
|
871 |
|
872 This panic is raised in debug builds only. |
|
873 |
|
874 On the user side this is associated with the USER category; on the kernel side |
|
875 this is associated with the KERN-COMMON category. |
|
876 |
|
877 @see Mem |
|
878 */ |
|
879 EMemRightNegative=89, |
|
880 |
|
881 |
|
882 /** |
|
883 This panic is raised by Mem::Copy() when the length of the area of memory |
|
884 to be copied is negative. |
|
885 |
|
886 This panic is raised in debug builds only. |
|
887 |
|
888 On the user side this is associated with the USER category; on the kernel side |
|
889 this is associated with the KERN-COMMON category. |
|
890 |
|
891 @see Mem |
|
892 */ |
|
893 EMemCopyLengthNegative=90, |
|
894 |
|
895 |
|
896 /** |
|
897 This panic is raised by Mem::Move() when the length of the area of memory |
|
898 to be moved is not a multiple of 4. |
|
899 |
|
900 This panic is raised in debug builds only. |
|
901 |
|
902 On the user side this is associated with the USER category; on the kernel side |
|
903 this is associated with the KERN-COMMON category. |
|
904 |
|
905 @see Mem |
|
906 */ |
|
907 EWordMoveLengthNotMultipleOf4=91, |
|
908 |
|
909 |
|
910 /** |
|
911 This panic is raised by Mem::Move() when the address of the source for |
|
912 the move operation is not aligned on a 4 byte boundary. |
|
913 |
|
914 This panic is raised in debug builds only. |
|
915 |
|
916 On the user side this is associated with the USER category; on the kernel side |
|
917 this is associated with the KERN-COMMON category. |
|
918 |
|
919 @see Mem |
|
920 */ |
|
921 EWordMoveSourceNotAligned=92, |
|
922 |
|
923 |
|
924 /** |
|
925 This panic is raised by Mem::Move() when the address of the target for |
|
926 the move operation is not aligned on a 4 byte boundary. |
|
927 |
|
928 This panic is raised in debug builds only. |
|
929 |
|
930 On the user side this is associated with the USER category; on the kernel side |
|
931 this is associated with the KERN-COMMON category. |
|
932 |
|
933 @see Mem |
|
934 */ |
|
935 EWordMoveTargetNotAligned=93, |
|
936 |
|
937 |
|
938 /** |
|
939 This panic is raised by Mem::Swap() when the length of the area of |
|
940 memory to be swapped is negative. |
|
941 |
|
942 This panic is raised in debug builds only. |
|
943 |
|
944 On the user side this is associated with the USER category; on the kernel side |
|
945 this is associated with the KERN-COMMON category. |
|
946 |
|
947 @see Mem |
|
948 */ |
|
949 EMemSwapLengthNegative=94, |
|
950 |
|
951 |
|
952 /** |
|
953 This panic is raised by Mem::Fill() and Mem::FillZ() when the length of |
|
954 the area of memory to be filled is negative. |
|
955 |
|
956 This panic is raised in debug builds only. |
|
957 |
|
958 On the user side this is associated with the USER category; on the kernel side |
|
959 this is associated with the KERN-COMMON category. |
|
960 |
|
961 @see Mem |
|
962 */ |
|
963 EMemFillLengthNegative=95, |
|
964 |
|
965 |
|
966 /** |
|
967 The value for the number of records to be sorted passed |
|
968 to User::QuickSort() is negative. |
|
969 |
|
970 @see User |
|
971 */ |
|
972 ESortCountNegative=96, |
|
973 |
|
974 |
|
975 /** |
|
976 The value for the number of records taking part in the search passed |
|
977 to User::BinarySearch() is negative. |
|
978 |
|
979 @see User |
|
980 */ |
|
981 EBinarySearchCountNegative=97, |
|
982 |
|
983 |
|
984 /** |
|
985 This panic is raised by the constructor of the base key class, TKey. |
|
986 |
|
987 It occurs when the offset value passed to the constructor is negative. |
|
988 As TKey is an abstract class, i.e. objects of type TKey are not intended |
|
989 to be explicitly constructed, look at the offset value passed to |
|
990 the constructors of derived classes such as TKeyArrayFix, TKeyArrayVar, |
|
991 and TKeyArrayPak for the cause of the panic. |
|
992 |
|
993 @see TKey |
|
994 @see TKeyArrayFix |
|
995 @see TKeyArrayVar |
|
996 @see TKeyArrayPak |
|
997 */ |
|
998 EKeyOffsetNegative=98, |
|
999 |
|
1000 |
|
1001 /** |
|
1002 This panic is raised when a local or global chunk is created using |
|
1003 the RChunk member functions: CreateLocal(), CreateGlobal(), |
|
1004 CreateDoubleEndedLocal() and CreateDoubleEndedGlobal(). |
|
1005 |
|
1006 It occurs when the value for the maximum size to which this chunk can |
|
1007 be adjusted, is negative. |
|
1008 |
|
1009 @see RChunk |
|
1010 */ |
|
1011 EChkCreateMaxSizeNegative=99, |
|
1012 |
|
1013 |
|
1014 /** |
|
1015 This panic is raised when a local or global chunk is created using |
|
1016 the RChunk member functions: CreateLocal() and CreateGlobal(). |
|
1017 |
|
1018 It occurs when the value for the number of bytes to be committed to |
|
1019 this chunk on creation, is negative. |
|
1020 |
|
1021 @see RChunk |
|
1022 */ |
|
1023 EChkCreateSizeNotPositive=100, |
|
1024 |
|
1025 |
|
1026 /** |
|
1027 This panic is raised when a local or global chunk is created using |
|
1028 the RChunk member functions: CreateLocal() and CreateGlobal(). |
|
1029 |
|
1030 It occurs when the value for the number of bytes to be committed to |
|
1031 this chunk on creation is greater than the value for the maximum size |
|
1032 to which this chunk can be adjusted. |
|
1033 |
|
1034 @see RChunk |
|
1035 */ |
|
1036 EChkCreateMaxLessThanMin=101, |
|
1037 |
|
1038 |
|
1039 /** |
|
1040 This panic is raised when changing the number of bytes committed to a chunk |
|
1041 by calling the Adjust() member function of RChunk. |
|
1042 |
|
1043 The panic occurs when the value passed to the function is negative. |
|
1044 |
|
1045 @see RChunk |
|
1046 */ |
|
1047 EChkAdjustNewSizeNegative=102, |
|
1048 |
|
1049 |
|
1050 /** |
|
1051 Not used. |
|
1052 */ |
|
1053 ESesDelayTimeNegative=103, |
|
1054 |
|
1055 |
|
1056 /** |
|
1057 Not used. |
|
1058 */ |
|
1059 ESesRetryCountNegative=104, |
|
1060 |
|
1061 |
|
1062 /** |
|
1063 This panic is raised when a local or global semaphore is created using |
|
1064 the RSemaphore member functions: CreateLocal() and CreateGlobal(), and |
|
1065 the value for the initial semaphore count is negative. |
|
1066 |
|
1067 @see RSemaphore |
|
1068 */ |
|
1069 ESemCreateCountNegative=105, |
|
1070 |
|
1071 |
|
1072 /** |
|
1073 This panic is raised when a semaphore is signaled using |
|
1074 the Signal(TInt aCount) member function and the count value is negative. |
|
1075 |
|
1076 @see RSemaphore |
|
1077 */ |
|
1078 ESemSignalCountNegative=106, |
|
1079 |
|
1080 |
|
1081 /** |
|
1082 This panic is raised when a critical section is signalled using |
|
1083 the Signal() member function and the call to Signal() is not matched |
|
1084 by an earlier call to Wait(), which suggests that this is a stray signal. |
|
1085 |
|
1086 @see RCriticalSection |
|
1087 */ |
|
1088 ECriticalSectionStraySignal=107, |
|
1089 |
|
1090 |
|
1091 /** |
|
1092 Not used. |
|
1093 */ |
|
1094 EThrdHeapNotChunkType=108, |
|
1095 |
|
1096 |
|
1097 /** |
|
1098 This panic is raised when creating a thread using the Create() member |
|
1099 functions of RThread. |
|
1100 |
|
1101 The panic occurs when the value of the stack size passed to |
|
1102 these functions is negative. |
|
1103 |
|
1104 @see RThread |
|
1105 */ |
|
1106 EThrdStackSizeNegative=109, |
|
1107 |
|
1108 |
|
1109 /** |
|
1110 This panic is raised when creating a thread using the Create() member |
|
1111 functions of RThread. |
|
1112 |
|
1113 The panic is only raised by those variants of Create() that create a new |
|
1114 heap for the new thread. The panic occurs if the minimum heap size |
|
1115 specified is less than KMinHeapSize. |
|
1116 |
|
1117 @see RThread |
|
1118 @see KMinHeapSize |
|
1119 */ |
|
1120 EThrdHeapMinTooSmall=110, |
|
1121 |
|
1122 |
|
1123 /** |
|
1124 This panic is raised when creating a thread using the Create() member |
|
1125 functions of RThread. |
|
1126 |
|
1127 The panic is only raised by those variants of Create() which create a new |
|
1128 heap for the new thread. The panic occurs if the minimum heap size |
|
1129 specified is greater than the maximum size to which the heap can grow. |
|
1130 |
|
1131 @see RThread |
|
1132 */ |
|
1133 EThrdHeapMaxLessThanMin=111, |
|
1134 |
|
1135 |
|
1136 /** |
|
1137 This panic is raised by the Alloc() and AllocL() member functions of class |
|
1138 RRef when the size value passed is negative. |
|
1139 */ |
|
1140 ERefAllocSizeNegative=112, |
|
1141 |
|
1142 |
|
1143 /** |
|
1144 This panic is raised by: |
|
1145 |
|
1146 1. the constructor of a time representation object, a TTime, which takes |
|
1147 a text string, when the format of that text string is incorrect |
|
1148 or represents an invalid date/time. |
|
1149 |
|
1150 2. the Parse() member function of a time representation object, a TTime, |
|
1151 if the century offset value is either negative or is greater than |
|
1152 or equal to 100. |
|
1153 |
|
1154 3. the Time::DaysInMonth() function, if an invalid month value is passed. |
|
1155 |
|
1156 @see TTime |
|
1157 @see Time |
|
1158 */ |
|
1159 ETTimeValueOutOfRange=113, |
|
1160 |
|
1161 |
|
1162 /** |
|
1163 This panic is raised by member functions of TBusLocalDrive when no |
|
1164 connection has been made to a local drive. |
|
1165 |
|
1166 This panic is raised in debug builds only. |
|
1167 |
|
1168 @see TBusLocalDrive |
|
1169 */ |
|
1170 EDriveNotConnected=114, |
|
1171 |
|
1172 |
|
1173 /** |
|
1174 This panic is raised when attempting to connect to a local drive |
|
1175 using the Connect() member function of TBusLocalDrive, and |
|
1176 the specified drive number is out of range, i.e. the drive number |
|
1177 is negative or is greater than or equal to KMaxLocalDrives. |
|
1178 |
|
1179 @see TBusLocalDrive |
|
1180 @see KMaxLocalDrives |
|
1181 */ |
|
1182 EDriveOutOfRange=115, |
|
1183 |
|
1184 |
|
1185 /** |
|
1186 This panic is raised by the Lookup() member function of RLibrary when |
|
1187 the ordinal number of the required DLL function, is zero or negative. |
|
1188 |
|
1189 @see RLibrary |
|
1190 */ |
|
1191 EBadLookupOrdinal=116, |
|
1192 |
|
1193 |
|
1194 /** |
|
1195 Not used. |
|
1196 */ |
|
1197 EChunkHeapBadOffset=117, |
|
1198 |
|
1199 |
|
1200 /** |
|
1201 Not used. |
|
1202 */ |
|
1203 ETQueLinkAlreadyInUse=118, |
|
1204 |
|
1205 |
|
1206 /** |
|
1207 This panic is raised when setting a new currency symbol using |
|
1208 the User::SetCurrencySymbol() function. |
|
1209 |
|
1210 The panic occurs when the length of the descriptor containing |
|
1211 the new symbol is greater than KMaxCurrencySymbol. |
|
1212 |
|
1213 @see User |
|
1214 @see KMaxCurrencySymbol |
|
1215 */ |
|
1216 ECurrencySymbolOverflow=119, |
|
1217 |
|
1218 |
|
1219 /** |
|
1220 This panic is raised by the CreateDoubleEndedLocal() |
|
1221 and CreateDoubleEndedGlobal() member functions of RChunk when the lower |
|
1222 address of the committed region is negative. |
|
1223 |
|
1224 @see RChunk |
|
1225 */ |
|
1226 EChkCreateBottomNegative=120, |
|
1227 |
|
1228 |
|
1229 /** |
|
1230 This panic is raised by the CreateDoubleEndedLocal() |
|
1231 and CreateDoubleEndedGlobal() member functions of RChunk when the upper |
|
1232 address of the committed region is negative. |
|
1233 |
|
1234 @see RChunk |
|
1235 */ |
|
1236 EChkCreateTopNegative=121, |
|
1237 |
|
1238 |
|
1239 /** |
|
1240 This panic is raised by the CreateDoubleEndedLocal() |
|
1241 and CreateDoubleEndedGlobal() member functions of RChunk when the upper |
|
1242 address of the committed region is lower than the lower address of |
|
1243 the committed region. |
|
1244 |
|
1245 @see RChunk |
|
1246 */ |
|
1247 EChkCreateTopLessThanBottom=122, |
|
1248 |
|
1249 |
|
1250 /** |
|
1251 This panic is raised by the CreateDoubleEndedLocal() |
|
1252 and CreateDoubleEndedGlobal() member functions of RChunk when the upper |
|
1253 address of the committed region is lower than the maximum size to which |
|
1254 this chunk can be adjusted. |
|
1255 |
|
1256 @see RChunk |
|
1257 */ |
|
1258 EChkCreateTopBiggerThanMax=123, |
|
1259 |
|
1260 |
|
1261 /** |
|
1262 This panic is raised by RChunk::AdjustDoubleEnded() when the lower address |
|
1263 of the committed region is negative. |
|
1264 |
|
1265 @see RChunk |
|
1266 */ |
|
1267 EChkAdjustBottomNegative=124, |
|
1268 |
|
1269 |
|
1270 /** |
|
1271 This panic is raised by RChunk::AdjustDoubleEnded() when the upper address |
|
1272 of the committed region is negative. |
|
1273 |
|
1274 @see RChunk |
|
1275 */ |
|
1276 EChkAdjustTopNegative=125, |
|
1277 |
|
1278 |
|
1279 /** |
|
1280 This panic is raised by RChunk::AdjustDoubleEnded() when the upper address |
|
1281 of the committed region is lower than the lower address of the committed |
|
1282 region. |
|
1283 |
|
1284 @see RChunk |
|
1285 */ |
|
1286 EChkAdjustTopLessThanBottom=126, |
|
1287 |
|
1288 |
|
1289 /** |
|
1290 This panic is raised when constructing an array of pointers, |
|
1291 an RPointerArray, and specifying a granularity value which is |
|
1292 one of the following: |
|
1293 |
|
1294 1. zero |
|
1295 |
|
1296 2. negative |
|
1297 |
|
1298 3. greater than 0x10000000. |
|
1299 |
|
1300 @see RPointerArray |
|
1301 */ |
|
1302 EBadArrayGranularity=127, |
|
1303 |
|
1304 |
|
1305 /** |
|
1306 This panic is raised when constructing an array of fixed length objects, |
|
1307 an RArray, and specifying a key offset value which is one of the following: |
|
1308 |
|
1309 1. negative |
|
1310 |
|
1311 2. not a multiple of 4 |
|
1312 |
|
1313 3. greater than or equal to the size of the array elements. |
|
1314 |
|
1315 @see RArray |
|
1316 */ |
|
1317 EBadArrayKeyOffset=128, |
|
1318 |
|
1319 |
|
1320 /** |
|
1321 This panic is raised when constructing an array of fixed length objects, |
|
1322 an RArray, and the length of the array elements is one of the following: |
|
1323 |
|
1324 1. zero |
|
1325 |
|
1326 2. negative |
|
1327 |
|
1328 3. greater than 640. |
|
1329 |
|
1330 @see RArray |
|
1331 */ |
|
1332 EBadArrayEntrySize=129, |
|
1333 |
|
1334 |
|
1335 /** |
|
1336 This panic is raised when an index value passed to a member function |
|
1337 of RArray or RPointerArray identifying an array element, is out of bounds. |
|
1338 |
|
1339 @see RArray |
|
1340 @see RPointerArray |
|
1341 */ |
|
1342 EBadArrayIndex=130, |
|
1343 |
|
1344 |
|
1345 /** |
|
1346 This panic is raised when the value identifying the insertion position |
|
1347 in a call to RArray::Insert() or RPointerArray::Insert(), is either |
|
1348 negative or greater than the number of elements in the array. |
|
1349 |
|
1350 @see RArray |
|
1351 @see RPointerArray |
|
1352 */ |
|
1353 EBadArrayPosition=131, |
|
1354 |
|
1355 |
|
1356 /** |
|
1357 This panic is raised when an index value passed to |
|
1358 Mem::CollationMethodByIndex() or Mem::CollationMethodId() is out of bounds. |
|
1359 |
|
1360 @see Mem |
|
1361 */ |
|
1362 EBadCollationRulesIndex=132, |
|
1363 |
|
1364 |
|
1365 /** |
|
1366 This panic is raised when an index value passed to TFixedArray::At() |
|
1367 or TFixedArray::operator[] is out of bounds. |
|
1368 |
|
1369 @see TFixedArray |
|
1370 */ |
|
1371 EBadFixedArrayIndex=133, |
|
1372 |
|
1373 |
|
1374 /** |
|
1375 Not used. |
|
1376 */ |
|
1377 ERawEventFlipTypeNotImplemented=134, |
|
1378 |
|
1379 |
|
1380 /** |
|
1381 Not used. |
|
1382 */ |
|
1383 ENumberOfParametersExceedsMaximum=136, |
|
1384 |
|
1385 |
|
1386 /** |
|
1387 This panic is raised internally by the descriptor formatting functions during the handling |
|
1388 of the variable parameter lists when the parameter is too big. |
|
1389 */ |
|
1390 ESizeOfParameterTooBig=137, |
|
1391 |
|
1392 |
|
1393 /** |
|
1394 This panic is raised internally by the descriptor formatting functions |
|
1395 during the handling of the variable parameter lists when an index value |
|
1396 for the parameters is outside its permitted range. |
|
1397 */ |
|
1398 EParameterIndexOutOfRange1=138, |
|
1399 |
|
1400 |
|
1401 /** |
|
1402 This panic is raised internally by the descriptor formatting functions |
|
1403 during the handling of the variable parameter lists when an index value |
|
1404 for the parameters is outside its permitted range. |
|
1405 |
|
1406 This panic is raised in debug mode only. |
|
1407 */ |
|
1408 EParameterIndexOutOfRange2=139, |
|
1409 |
|
1410 |
|
1411 /** |
|
1412 This panic is raised internally by the descriptor formatting functions |
|
1413 during the handling of the variable parameter lists. |
|
1414 */ |
|
1415 EFormatDirectiveAlreadySet1=140, |
|
1416 |
|
1417 |
|
1418 /** |
|
1419 This panic is raised internally by the descriptor formatting functions |
|
1420 during the handling of the variable parameter lists. |
|
1421 */ |
|
1422 EFormatDirectiveAlreadySet2=141, |
|
1423 |
|
1424 |
|
1425 /** |
|
1426 This panic is raised internally by the descriptor formatting functions |
|
1427 during the handling of the variable parameter lists. |
|
1428 */ |
|
1429 ENumberOfFormatDirectivesExceedsMaximum=142, |
|
1430 |
|
1431 |
|
1432 /** |
|
1433 This panic is raised internally by the descriptor formatting functions |
|
1434 during the handling of the variable parameter lists. |
|
1435 */ |
|
1436 ENoParametersInFormatDirective=143, |
|
1437 |
|
1438 |
|
1439 /** |
|
1440 This panic is raised internally by the descriptor formatting functions |
|
1441 during the handling of the variable parameter lists. |
|
1442 */ |
|
1443 EFormatDirectiveNotYetSet=144, |
|
1444 |
|
1445 |
|
1446 /** |
|
1447 This panic is raised internally by the descriptor formatting functions |
|
1448 during the handling of the variable parameter lists. |
|
1449 */ |
|
1450 EBadFormatDirectiveDataPointer=145, |
|
1451 |
|
1452 |
|
1453 /** |
|
1454 This panic is raised internally by the descriptor formatting functions |
|
1455 during the handling of the variable parameter lists. |
|
1456 */ |
|
1457 EFormatDirectiveIndexOutOfRange=146, |
|
1458 |
|
1459 |
|
1460 /** |
|
1461 This panic is raised internally by the descriptor formatting functions |
|
1462 during the handling of the variable parameter lists. |
|
1463 */ |
|
1464 ENotOnFirstPassOfFormatDescriptor1=147, |
|
1465 |
|
1466 |
|
1467 /** |
|
1468 This panic is raised internally by the descriptor formatting functions |
|
1469 during the handling of the variable parameter lists. |
|
1470 */ |
|
1471 ENotOnFirstPassOfFormatDescriptor2=148, |
|
1472 |
|
1473 |
|
1474 /** |
|
1475 This panic is raised internally by the descriptor formatting functions |
|
1476 during the handling of the variable parameter lists. |
|
1477 */ |
|
1478 EInconsistentSizeOfParameter=149, |
|
1479 |
|
1480 |
|
1481 /** |
|
1482 This panic is raised internally by the descriptor formatting functions |
|
1483 during the handling of the variable parameter lists. |
|
1484 */ |
|
1485 ENullTargetPointer=150, |
|
1486 |
|
1487 |
|
1488 /** |
|
1489 This panic is raised internally by the descriptor formatting functions |
|
1490 during the handling of the variable parameter lists. |
|
1491 */ |
|
1492 ENegativeSizeOfParameter=151, |
|
1493 |
|
1494 |
|
1495 /** |
|
1496 This panic is raised internally by the descriptor formatting functions |
|
1497 during the handling of the variable parameter lists. |
|
1498 */ |
|
1499 EErrorOnSecondPassOfFormatDescriptor=152, |
|
1500 |
|
1501 |
|
1502 /** |
|
1503 This panic is raised internally by the descriptor formatting functions |
|
1504 during the handling of the variable parameter lists. |
|
1505 */ |
|
1506 EUnexpectedError1=153, |
|
1507 |
|
1508 |
|
1509 /** |
|
1510 This panic is raised internally by the descriptor formatting functions |
|
1511 during the handling of the variable parameter lists. |
|
1512 */ |
|
1513 EUnexpectedError2=154, |
|
1514 |
|
1515 |
|
1516 /** |
|
1517 Not used. |
|
1518 */ |
|
1519 ECreateTransferBufferSizeNotPositive=155, |
|
1520 |
|
1521 |
|
1522 /** |
|
1523 This panic occurs in the construction of an RPointerArray object from |
|
1524 an existing pointer array object, when the number defining the number |
|
1525 of entries in the existing array is not positive. |
|
1526 |
|
1527 @see RPointerArray |
|
1528 */ |
|
1529 EBadArrayCount=156, |
|
1530 |
|
1531 |
|
1532 /** |
|
1533 This panic is raised by RChunk::Commit() when the value of the offset of |
|
1534 the committed region is negative. |
|
1535 |
|
1536 @see RChunk |
|
1537 */ |
|
1538 EChkCommitOffsetNegative=157, |
|
1539 |
|
1540 |
|
1541 /** |
|
1542 This panic is raised by RChunk::Commit() when the size of the |
|
1543 the committed region is negative. |
|
1544 |
|
1545 @see RChunk |
|
1546 */ |
|
1547 EChkCommitSizeNegative=158, |
|
1548 |
|
1549 |
|
1550 /** |
|
1551 This panic is raised by RChunk::Allocate() when the size of the |
|
1552 the committed region is negative. |
|
1553 |
|
1554 @see RChunk |
|
1555 */ |
|
1556 EChkAllocateSizeNegative=159, |
|
1557 |
|
1558 |
|
1559 /** |
|
1560 This panic is raised by RChunk::Decommit() when the value of the offset of |
|
1561 the committed region is negative. |
|
1562 |
|
1563 @see RChunk |
|
1564 */ |
|
1565 EChkDecommitOffsetNegative=160, |
|
1566 |
|
1567 |
|
1568 /** |
|
1569 This panic is raised by RChunk::Decommit() when the size of the |
|
1570 the committed region is negative. |
|
1571 |
|
1572 @see RChunk |
|
1573 */ |
|
1574 EChkDecommitSizeNegative=161, |
|
1575 |
|
1576 |
|
1577 /** |
|
1578 This panic is raised when an invalid chunk type has been passed to |
|
1579 the internal member RChunk::Create() |
|
1580 |
|
1581 @see RChunk |
|
1582 */ |
|
1583 EChkCreateInvalidType=162, |
|
1584 |
|
1585 |
|
1586 /** |
|
1587 This panic is raised when a global chunk is being created and |
|
1588 no name has been specified. |
|
1589 |
|
1590 @see RChunk |
|
1591 */ |
|
1592 EChkCreateInvalidName=163, |
|
1593 |
|
1594 |
|
1595 /** |
|
1596 This panic is raised when creating a 'normal' chunk and the offset of the bottom of the new committed region |
|
1597 from the base of the chunk's reserved region is not zero. |
|
1598 |
|
1599 @see RChunk |
|
1600 */ |
|
1601 EChkCreateInvalidBottom=164, |
|
1602 |
|
1603 |
|
1604 /** |
|
1605 This panic is raised by the internal function RLibrary::Init() when the function that |
|
1606 constructs static data following a DLL load, leaves. |
|
1607 */ |
|
1608 EDllStaticConstructorLeave=165, |
|
1609 |
|
1610 |
|
1611 /** |
|
1612 This panic is raised internally, if a call to the static data destructors |
|
1613 following a library handle close, leaves. |
|
1614 */ |
|
1615 EDllStaticDestructorLeave=166, |
|
1616 |
|
1617 |
|
1618 /** |
|
1619 This panic is raised in a call to RAllocator::Close() when the number of |
|
1620 handles is greater than the maximum allowed, RAllocator::EMaxHandles. |
|
1621 |
|
1622 @see RAllocator |
|
1623 */ |
|
1624 EAllocatorBadHandleCount=167, |
|
1625 |
|
1626 |
|
1627 /** |
|
1628 This panic is raised by the internal RHeap constructor when the offset value is invalid. |
|
1629 */ |
|
1630 ETHeapNewBadOffset=168, |
|
1631 |
|
1632 |
|
1633 /** |
|
1634 This panic is raised by the Symbian internal function RHeap::Reduce() on failure. |
|
1635 */ |
|
1636 ETHeapReduceFailed=169, |
|
1637 |
|
1638 |
|
1639 /** |
|
1640 This panic is raised by the Symbian internal function RHeap::Reset() on failure. |
|
1641 */ |
|
1642 ETHeapResetFailed=170, |
|
1643 |
|
1644 |
|
1645 /** |
|
1646 This panic is raised by the Symbian internal function RHeap::WalkCheckCell() on a |
|
1647 bad free cell size. |
|
1648 */ |
|
1649 ETHeapBadFreeCellSize=171, |
|
1650 |
|
1651 |
|
1652 /** |
|
1653 This panic is raised by the Symbian internal function RHeap::Initialise() on a |
|
1654 bad alignment value. |
|
1655 */ |
|
1656 ETHeapNewBadAlignment=172, |
|
1657 |
|
1658 |
|
1659 /** |
|
1660 Not used. |
|
1661 */ |
|
1662 ETHeapBadDebugOp=173, |
|
1663 |
|
1664 |
|
1665 /** |
|
1666 This panic is raised when an unimplemented pure virtual function is called. |
|
1667 */ |
|
1668 EPureVirtualCalled=174, |
|
1669 |
|
1670 |
|
1671 /** |
|
1672 This panic is raised when a User::Leave() is called and there |
|
1673 is no TRAP frame. |
|
1674 */ |
|
1675 EUserLeaveWithoutTrap=175, |
|
1676 |
|
1677 |
|
1678 /** |
|
1679 This panic is raised when a mathematical function fails with an |
|
1680 unrecognized exception, i.e. one that is none of: KErrArgument, |
|
1681 KErrDivideByZero, KErrOverflow or KErrUnderflow. |
|
1682 */ |
|
1683 EMathUnknownError=176, |
|
1684 |
|
1685 |
|
1686 /** |
|
1687 This panic is raised by the Symbian internal function RHeap::WalkCheckCell() on a |
|
1688 bad cell type. |
|
1689 */ |
|
1690 ETHeapWalkBadCellType=177, |
|
1691 |
|
1692 |
|
1693 /** |
|
1694 This panic is raised when descriptors convert integers into text, and |
|
1695 an invalid radix is passed, i.e. a value that is not one |
|
1696 of the TRadix enum values. |
|
1697 */ |
|
1698 EInvalidRadix=178, |
|
1699 |
|
1700 |
|
1701 /** |
|
1702 This panic is raised when converting and appending numbers in descriptors, |
|
1703 and buffers are not aligned on even addresses. |
|
1704 |
|
1705 This panic is raised in debug builds only. |
|
1706 */ |
|
1707 EDes16PadAppendBadAlign=179, |
|
1708 |
|
1709 |
|
1710 /** |
|
1711 Not used. |
|
1712 */ |
|
1713 EMsgQueueSizeInvalid=180, |
|
1714 |
|
1715 |
|
1716 /** |
|
1717 @internalComponent |
|
1718 */ |
|
1719 EHuffmanTooManyCodes=181, |
|
1720 |
|
1721 |
|
1722 /** |
|
1723 @internalComponent |
|
1724 */ |
|
1725 EHuffmanInvalidCoding=182, |
|
1726 |
|
1727 |
|
1728 /** |
|
1729 @internalComponent |
|
1730 */ |
|
1731 EBadArrayFindMode=183, |
|
1732 |
|
1733 |
|
1734 /** |
|
1735 In a call to RNotifier::Notify(), the length of one or more of |
|
1736 the descriptors containing the displayable text is bigger than |
|
1737 the maximum TUint16 value. |
|
1738 */ |
|
1739 ENotifierTextTooLong=184, |
|
1740 |
|
1741 |
|
1742 /** |
|
1743 In a call to one of the functions: |
|
1744 TMonthName::Set() |
|
1745 TMonthNameAbb::Set() |
|
1746 TDayName::Set() |
|
1747 TDayNameAbb::Set() |
|
1748 |
|
1749 the month or day value is outside the permitted range of values. |
|
1750 |
|
1751 @see TMonthName |
|
1752 @see TMonthNameAbb |
|
1753 @see TDayName |
|
1754 @see TDayNameAbb |
|
1755 */ |
|
1756 EBadLocaleParameter=185, |
|
1757 |
|
1758 |
|
1759 /** |
|
1760 This panic is raised internally by the descriptor formatting functions |
|
1761 during the handling of the variable parameter lists. |
|
1762 */ |
|
1763 EUnexpectedError3=186, |
|
1764 |
|
1765 |
|
1766 /** |
|
1767 In a call to TDes8::Expand(), either the length, or the maximum length, |
|
1768 or the pointer to the data is not an even number. |
|
1769 |
|
1770 @see TDes8 |
|
1771 */ |
|
1772 EDes8ExpandOdd=187, |
|
1773 |
|
1774 |
|
1775 /** |
|
1776 In a call to TDes8::Collapse(), either the length, or the maximum length, |
|
1777 or the pointer to the data is not an even number. |
|
1778 |
|
1779 @see TDes8 |
|
1780 */ |
|
1781 EDes8CollapseOdd=188, |
|
1782 |
|
1783 |
|
1784 /** |
|
1785 In a call to one of the TSecurityPolicy constructors, the specified |
|
1786 capability was found to be inavlid. |
|
1787 |
|
1788 @see TCapability |
|
1789 */ |
|
1790 ECapabilityInvalid=189, |
|
1791 |
|
1792 |
|
1793 /** |
|
1794 In a call to TSecurityPolicy::CheckPolicy, the security policy was found to |
|
1795 be corrupt. |
|
1796 |
|
1797 @see TSecurityPolicy |
|
1798 */ |
|
1799 ESecurityPolicyCorrupt=190, |
|
1800 |
|
1801 |
|
1802 /** |
|
1803 In a call to TSecurityPolicy::TSecurityPolicy(TSecPolicyType aType), aType |
|
1804 was not one of ETypePass or ETypeFail. |
|
1805 |
|
1806 @see TSecurityPolicy |
|
1807 */ |
|
1808 ETSecPolicyTypeInvalid=191, |
|
1809 |
|
1810 /** |
|
1811 This panic is raised when constructing an RPointerArray or RArray if the |
|
1812 specified minimum growth step is less than or equal to zero or is greater |
|
1813 than 65535. |
|
1814 |
|
1815 @see RPointerArray |
|
1816 @see RArray |
|
1817 */ |
|
1818 EBadArrayMinGrowBy=192, |
|
1819 |
|
1820 |
|
1821 /** |
|
1822 This panic is raised when constructing an RPointerArray or RArray if the |
|
1823 specified exponential growth factor is less than or equal to 1 or is |
|
1824 greater than or equal to 128. |
|
1825 |
|
1826 @see RPointerArray |
|
1827 @see RArray |
|
1828 */ |
|
1829 EBadArrayFactor=193, |
|
1830 |
|
1831 |
|
1832 /** |
|
1833 This panic is raised if code inside an __ASSERT_*_NO_LEAVE harness leaves. |
|
1834 |
|
1835 @see RPointerArray |
|
1836 @see RArray |
|
1837 */ |
|
1838 EUnexpectedLeave=194, |
|
1839 |
|
1840 |
|
1841 /** |
|
1842 A function was used to grow a cell on the heap, but it did not grow as expected. |
|
1843 */ |
|
1844 ETHeapCellDidntGrow=195, |
|
1845 |
|
1846 |
|
1847 /** |
|
1848 An attempt was made to install a Win32 SE handler not on the stack. |
|
1849 |
|
1850 @see TWin32SEHTrap |
|
1851 */ |
|
1852 EWin32SEHandlerNotOnStack=196, |
|
1853 |
|
1854 /** |
|
1855 This panic is raised when the caller of an API doesn't have the right capabilities to |
|
1856 call the specific API that raises this panic. Please consult the documentation for the |
|
1857 API in question to learn what capabilities you need to call it. |
|
1858 */ |
|
1859 EPlatformSecurityViolation=197, |
|
1860 |
|
1861 /** |
|
1862 This panic is raised if a NULL function pointer is passed in as the hash function |
|
1863 when constructing a hash table class. |
|
1864 */ |
|
1865 EHashTableNoHashFunc=198, |
|
1866 |
|
1867 /** |
|
1868 This panic is raised if a NULL function pointer is passed in as the identity |
|
1869 relation when constructing a hash table class. |
|
1870 */ |
|
1871 EHashTableNoIdentityRelation=199, |
|
1872 |
|
1873 /** |
|
1874 This panic is raised if a negative element size is specified when constructing |
|
1875 a hash table class. |
|
1876 */ |
|
1877 EHashTableBadElementSize=200, |
|
1878 |
|
1879 /** |
|
1880 This panic is raised if, when constructing a hash table class, the specified |
|
1881 key offset is inconsistent with the specified element size. |
|
1882 */ |
|
1883 EHashTableBadKeyOffset=201, |
|
1884 |
|
1885 /** |
|
1886 This panic is raised in debug builds only if a deleted entry still remains after |
|
1887 a hash table reform. It should never occur, since it signifies an error in the |
|
1888 hash table implementation. |
|
1889 */ |
|
1890 EHashTableDeletedEntryAfterReform=202, |
|
1891 |
|
1892 /** |
|
1893 This panic should never occur since it signifies an error in the hash table |
|
1894 implementation. |
|
1895 */ |
|
1896 EHashTableBadGeneration=203, |
|
1897 |
|
1898 /** |
|
1899 This panic should never occur since it signifies an error in the hash table |
|
1900 implementation. |
|
1901 */ |
|
1902 EHashTableBadHash=204, |
|
1903 |
|
1904 /** |
|
1905 This panic should never occur since it signifies an error in the hash table |
|
1906 implementation. |
|
1907 */ |
|
1908 EHashTableEntryLost=205, |
|
1909 |
|
1910 /** |
|
1911 This panic should never occur since it signifies an error in the hash table |
|
1912 implementation. |
|
1913 */ |
|
1914 EHashTableCountWrong=206, |
|
1915 |
|
1916 /** |
|
1917 This panic should never occur since it signifies an error in the hash table |
|
1918 implementation. |
|
1919 */ |
|
1920 EHashTableEmptyCountWrong=207, |
|
1921 |
|
1922 /** |
|
1923 This panic is raised if, while attempting to step a hash table iterator to |
|
1924 the next entry, the iterator is found to point to an invalid table entry. |
|
1925 This will typically occur if elements have been removed from the hash table |
|
1926 without resetting the iterator. |
|
1927 */ |
|
1928 EHashTableIterNextBadIndex=208, |
|
1929 |
|
1930 /** |
|
1931 This panic is raised if, while interrogating the current position of a |
|
1932 hash table iterator, the iterator is found to point to an invalid table entry. |
|
1933 This will typically occur if elements have been added to or removed from |
|
1934 the hash table without resetting the iterator. |
|
1935 */ |
|
1936 EHashTableIterCurrentBadIndex=209, |
|
1937 |
|
1938 /** |
|
1939 This panic is raised if an invalid argument is passed to the Reserve() function |
|
1940 on any of the hash table classes. |
|
1941 */ |
|
1942 EHashTableBadReserveCount=210, |
|
1943 |
|
1944 /** |
|
1945 The Win32 SE handler chain has been corrupted. |
|
1946 |
|
1947 @see TWin32SEHTrap |
|
1948 */ |
|
1949 EWin32SEHChainCorrupt=211, |
|
1950 |
|
1951 |
|
1952 /** |
|
1953 This panic is raised if an invalid argument is passed to the Reserve() function |
|
1954 on the RArray<T> or RPointerArray<T> classes. |
|
1955 */ |
|
1956 EArrayBadReserveCount=212, |
|
1957 |
|
1958 /** |
|
1959 This panic is raised when attempting to set a new debug failure mode on |
|
1960 a heap with an invalid argument. For example, if aBurst > KMaxTUint6 |
|
1961 when invoking __UHEAP_BURSTFAILNEXT when a RHeap object is used for |
|
1962 the user heap. |
|
1963 |
|
1964 On the user side this is associated with the USER category; on the kernel side |
|
1965 this is associated with the KERN-HEAP category. |
|
1966 |
|
1967 @see RAllocator::TAllocFail |
|
1968 */ |
|
1969 ETHeapBadDebugFailParameter = 213, |
|
1970 }; |
|
1971 |
|
1972 |
|
1973 |
|
1974 |
|
1975 /** |
|
1976 Defines a set of panic numbers associated with the E32USER-CBASE panic category. |
|
1977 |
|
1978 Panics with this category are raised in user side code by member functions of |
|
1979 CBase derived classes that reside in euser.dll. Typically, they are caused by |
|
1980 passing bad or contradictory values to class constructors or member functions. |
|
1981 */ |
|
1982 enum TBasePanic |
|
1983 { |
|
1984 |
|
1985 /** |
|
1986 This panic is raised by the Set() member function of CAsyncCallBack, |
|
1987 if this active object is already active when the function is called. |
|
1988 |
|
1989 @see CAsyncCallBack |
|
1990 */ |
|
1991 ECAsyncCBIsActive=1, |
|
1992 |
|
1993 |
|
1994 /** |
|
1995 This panic is raised by the Call() member function of CAsyncOneShot, |
|
1996 if the active object has not already been added to the active scheduler. |
|
1997 |
|
1998 This panic is raised in debug builds only. |
|
1999 |
|
2000 @see CAsyncOneShot |
|
2001 */ |
|
2002 ECAsyncOneShotNotAdded=2, |
|
2003 |
|
2004 |
|
2005 /** |
|
2006 This panic is raised during construction of a dynamic buffer, |
|
2007 a CBufFlat or a CBufSeg object, when the value of the granularity passed |
|
2008 to the constructors is negative. |
|
2009 |
|
2010 @see CBufFlat |
|
2011 @see CBufSeg |
|
2012 */ |
|
2013 EBufExpandSizeNegative=3, |
|
2014 |
|
2015 |
|
2016 /** |
|
2017 This panic is raised when reading from a dynamic buffer, |
|
2018 a CBufFlat or a CBufSeg, using the Read() member function. |
|
2019 |
|
2020 It is caused by attempting to read beyond the end of the buffer. |
|
2021 |
|
2022 @see CBufFlat |
|
2023 @see CBufSeg |
|
2024 */ |
|
2025 EBufReadBeyondEnd=4, |
|
2026 |
|
2027 |
|
2028 /** |
|
2029 This panic is raised when writing to a dynamic buffer, |
|
2030 a CBufFlat or a CBufSeg, using the Write() member function. |
|
2031 |
|
2032 It is caused by attempting to write beyond the end of the buffer. |
|
2033 |
|
2034 @see CBufFlat |
|
2035 @see CBufSeg |
|
2036 */ |
|
2037 EBufWriteBeyondEnd=5, |
|
2038 |
|
2039 |
|
2040 /** |
|
2041 This panic is raised when reading from a dynamic buffer, |
|
2042 a CBufFlat or a CBufSeg, using the Read() member function. |
|
2043 |
|
2044 It is caused by specifying a negative length for the amount of data |
|
2045 to be read. |
|
2046 |
|
2047 @see CBufFlat |
|
2048 @see CBufSeg |
|
2049 */ |
|
2050 EBufReadLengthNegative=6, |
|
2051 |
|
2052 |
|
2053 /** |
|
2054 This panic is raised when writing to a dynamic buffer, |
|
2055 a CBufFlat or a CBufSeg, using the Write() member function. |
|
2056 |
|
2057 It is caused by specifying a negative length for the amount of data |
|
2058 to be written. |
|
2059 |
|
2060 @see CBufFlat |
|
2061 @see CBufSeg |
|
2062 */ |
|
2063 EBufWriteLengthNegative=7, |
|
2064 |
|
2065 |
|
2066 /** |
|
2067 This panic is raised when inserting data into a dynamic buffer, |
|
2068 a CBufFlat or a CBufSeg, using the InsertL() member function or when |
|
2069 inserting an uninitialized region into the dynamic buffer using |
|
2070 the ExpandL() member function. |
|
2071 |
|
2072 It is caused by passing a negative length value to these functions. |
|
2073 |
|
2074 @see CBufFlat |
|
2075 @see CBufSeg |
|
2076 */ |
|
2077 EBufInsertLengthNegative=8, |
|
2078 |
|
2079 |
|
2080 /** |
|
2081 This panic is raised when inserting data into a dynamic buffer, |
|
2082 a CBufFlat or a CBufSeg, using the InsertL() member function. |
|
2083 |
|
2084 It is caused when the variant of InsertL(), which takes a pointer to TAny |
|
2085 is passed a NULL pointer value. |
|
2086 |
|
2087 @see CBufFlat |
|
2088 @see CBufSeg |
|
2089 */ |
|
2090 EBufInsertBadPtr=9, |
|
2091 |
|
2092 |
|
2093 /** |
|
2094 This panic is raised when specifying the minimum amount of space |
|
2095 that a flat dynamic buffer, a CBufFlat, should occupy using |
|
2096 the SetReserveL() member function. |
|
2097 |
|
2098 It is caused when the size value passed to the function is negative. |
|
2099 |
|
2100 @see CBufFlat |
|
2101 */ |
|
2102 EBufFlatReserveNegative=10, |
|
2103 |
|
2104 |
|
2105 /** |
|
2106 This panic is raised when specifying the minimum amount of space |
|
2107 that a flat dynamic buffer, a CBufFlat, should occupy using |
|
2108 the SetReserveL() member function. |
|
2109 |
|
2110 It is caused when the size value passed to the function is less than |
|
2111 the current size of the buffer. |
|
2112 |
|
2113 @see CBufFlat |
|
2114 */ |
|
2115 EBufFlatReserveSetTooSmall=11, |
|
2116 |
|
2117 |
|
2118 /** |
|
2119 This panic is raised by the Delete(), Ptr(), BackPtr() member functions |
|
2120 of a flat dynamic buffer, a CBufFlat; the panic can also be raised by |
|
2121 InsertL() and ExpandL(). |
|
2122 |
|
2123 It is caused when the position value passed to these functions is either |
|
2124 negative or represents a position beyond the end of the current buffer. |
|
2125 |
|
2126 @see CBufFlat |
|
2127 */ |
|
2128 EBufFlatPosOutOfRange=12, |
|
2129 |
|
2130 |
|
2131 /** |
|
2132 This panic is raised by the Delete() member function of |
|
2133 a flat dynamic buffer, a CBufFlat. |
|
2134 |
|
2135 It is caused when the combination of position and length values passed |
|
2136 to the function implies an attempt to delete data beyond the end of |
|
2137 the flat buffer. |
|
2138 |
|
2139 @see CBufFlat |
|
2140 */ |
|
2141 EBufFlatDeleteBeyondEnd=13, |
|
2142 |
|
2143 |
|
2144 /** |
|
2145 This panic is raised by the Delete(), Ptr(), BackPtr() member functions |
|
2146 of a segmented dynamic buffer, a CBufSeg); the panic can also be raised |
|
2147 by InsertL() and ExpandL(). |
|
2148 |
|
2149 It is caused when the position value passed to these functions is either |
|
2150 negative or represents a position beyond the end of the current buffer. |
|
2151 |
|
2152 @see CBufSeg |
|
2153 */ |
|
2154 EBufSegPosOutOfRange=14, |
|
2155 |
|
2156 |
|
2157 /** |
|
2158 This panic is raised by the Delete() member function of a segmented dynamic |
|
2159 buffer, a CBufSeg. |
|
2160 |
|
2161 It is caused when the combination of position and length values passed to |
|
2162 the function implies an attempt to delete data beyond the end of |
|
2163 the segmented buffer. |
|
2164 |
|
2165 @see CBufSeg |
|
2166 */ |
|
2167 EBufSegDeleteBeyondEnd=15, |
|
2168 |
|
2169 |
|
2170 /** |
|
2171 This panic is raised by the InsertL(), Delete(), Ptr() and BackPtr() member |
|
2172 functions as implemented for segmented buffers, CBufSeg, when |
|
2173 the offset within a segment, where data is to be inserted or removed, |
|
2174 is greater than the buffer granularity. |
|
2175 |
|
2176 This panic is raised in debug builds only. |
|
2177 |
|
2178 @see CBufSeg |
|
2179 */ |
|
2180 EBufSegSetSBO=16, |
|
2181 |
|
2182 |
|
2183 /** |
|
2184 This panic is raised by the constructors of arrays of fixed length objects |
|
2185 as represented, for example, by the classes CArrayFixFlat, CArrayFixSeg, |
|
2186 and CArrayFixFlat<TAny>. |
|
2187 |
|
2188 It is caused when the record length is either negative or zero. The record |
|
2189 length is either explicitly specified, as in the case of |
|
2190 the CArrayFixFlat<TAny> class, or is implied by the length of the template |
|
2191 class as in the case of the CArrayFixFlat class. |
|
2192 |
|
2193 @see CArrayFixFlat |
|
2194 @see CArrayFixSeg |
|
2195 */ |
|
2196 EArrayFixInvalidLength=17, |
|
2197 |
|
2198 |
|
2199 /** |
|
2200 This panic is raised by the constructors of arrays of fixed length objects |
|
2201 as represented, for example, by the classes: CArrayFixFlat and CArrayFixSeg. |
|
2202 |
|
2203 It is caused when the granularity passed to the constructors is |
|
2204 either negative or zero. |
|
2205 |
|
2206 @see CArrayFixFlat |
|
2207 @see CArrayFixSeg |
|
2208 */ |
|
2209 EArrayFixInvalidGranularity=18, |
|
2210 |
|
2211 |
|
2212 /** |
|
2213 This panic is raised by the constructors of arrays of variable length |
|
2214 objects as represented, for example, by the classes: CArrayVarFlat |
|
2215 and CArrayVarSeg. |
|
2216 |
|
2217 It is caused when the granularity passed to the constructors is either |
|
2218 negative or zero. |
|
2219 |
|
2220 @see CArrayFixFlat |
|
2221 @see CArrayFixSeg |
|
2222 */ |
|
2223 EArrayVarInvalidGranularity=19, |
|
2224 |
|
2225 |
|
2226 /** |
|
2227 This panic is raised by the constructors of packed arrays as represented, |
|
2228 for example, by the class CArrayPakFlat. |
|
2229 |
|
2230 It is caused when the granularity passed to the constructors is either |
|
2231 negative or zero. |
|
2232 |
|
2233 @see CArrayPakFlat |
|
2234 */ |
|
2235 EArrayPakInvalidGranularity=20, |
|
2236 |
|
2237 |
|
2238 /** |
|
2239 This panic is raised by any operation which accesses an element of an array |
|
2240 by explicit reference to an index number, for example, the Delete(), |
|
2241 InsertL() and At() member functions or the operator Operator[]. |
|
2242 |
|
2243 It is caused by specifying an index value which is either negative, |
|
2244 or is greater than or equal to the number of objects currently within the array. |
|
2245 */ |
|
2246 EArrayIndexOutOfRange=21, |
|
2247 |
|
2248 |
|
2249 /** |
|
2250 This panic is raised when deleting contiguous elements from an array of |
|
2251 fixed length objects (derived from CArrayFixBase) using the Delete() |
|
2252 member function. |
|
2253 |
|
2254 It is caused by specifying the number of contiguous elements as |
|
2255 a zero or negative value. |
|
2256 */ |
|
2257 EArrayCountNegative=22, |
|
2258 |
|
2259 |
|
2260 /** |
|
2261 This panic is raised when inserting contiguous elements into an array |
|
2262 of fixed length objects (derived from CArrayFixBase) using the |
|
2263 InsertL() member function. |
|
2264 |
|
2265 It is caused by specifying the number of contiguous elements as |
|
2266 a zero or negative value. |
|
2267 */ |
|
2268 EArrayCountNegative2=23, |
|
2269 |
|
2270 |
|
2271 /** |
|
2272 This panic is raised when resizing an array of fixed length objects |
|
2273 (derived from CArrayFixBase) using the ResizeL() member function. |
|
2274 |
|
2275 It is caused by specifying the number of contiguous elements as a zero |
|
2276 or negative value. |
|
2277 */ |
|
2278 EArrayCountNegative3=24, |
|
2279 |
|
2280 |
|
2281 /** |
|
2282 This panic is raised when deleting contiguous elements from an array of |
|
2283 variable length objects (derived from CArrayVarBase) using the Delete() |
|
2284 member function. |
|
2285 |
|
2286 It is caused by specifying the number of contiguous elements as a zero |
|
2287 or negative value. |
|
2288 */ |
|
2289 EArrayCountNegative4=25, |
|
2290 |
|
2291 |
|
2292 /** |
|
2293 This panic is raised when deleting contiguous elements from |
|
2294 a packed array (derived from CArrayPakBase) using the Delete() |
|
2295 member function. |
|
2296 |
|
2297 It is caused by specifying the number of contiguous elements as |
|
2298 a zero or negative value. |
|
2299 */ |
|
2300 EArrayCountNegative5=26, |
|
2301 |
|
2302 |
|
2303 /** |
|
2304 This panic is raised when reserving space in flat arrays of |
|
2305 fixed length objects, the CArrayFixFlat,CArrayFixFlat<TAny> |
|
2306 and CArrayPtrFlat classes, using the SetReserveL() member function. |
|
2307 |
|
2308 It is caused by specifying the number of elements, for which space is to be |
|
2309 reserved, as less than the current number of elements in the array. |
|
2310 */ |
|
2311 EArrayReserveTooSmall=27, |
|
2312 |
|
2313 |
|
2314 /** |
|
2315 This panic is raised when inserting or appending replicated |
|
2316 elements to the arrays of fixed length objects CArrayFixFlat and |
|
2317 CArrayFixSeg using the InsertL() or AppendL() functions. |
|
2318 |
|
2319 It is caused by specifying the number of replicas as negative or zero. |
|
2320 */ |
|
2321 EArrayReplicasNegative=28, |
|
2322 |
|
2323 |
|
2324 /** |
|
2325 This panic is raised when deleting elements from a fixed length, variable |
|
2326 length or packed array (derived from CArrayFixBase, CArrayVarBase |
|
2327 and CArrayPakBase) using the Delete() function. |
|
2328 |
|
2329 It is caused when the specification of the position of the first element |
|
2330 to be deleted and the number of contiguous elements to be deleted refers |
|
2331 to elements which are outside the bounds of the array. |
|
2332 */ |
|
2333 EArrayCountTooBig=29, |
|
2334 |
|
2335 |
|
2336 /** |
|
2337 This panic is raised when inserting into, appending onto, expanding or |
|
2338 extending a variable length array or a packed array (i.e. arrays derived |
|
2339 from CArrayVar or CArrayPak) using the InsertL(), AppendL(), ExpandL() |
|
2340 or ExtendL() functions respectively. |
|
2341 |
|
2342 It is caused by specifying the length of the element as a negative value. |
|
2343 */ |
|
2344 EArrayLengthNegative=30, |
|
2345 |
|
2346 |
|
2347 /** |
|
2348 Not used. |
|
2349 */ |
|
2350 EArrayReaderCountVirtual=31, |
|
2351 |
|
2352 |
|
2353 /** |
|
2354 Not used. |
|
2355 */ |
|
2356 EArrayReaderAtVirtual=32, |
|
2357 |
|
2358 |
|
2359 /** |
|
2360 This panic is raised by the destructor of a CObject. |
|
2361 |
|
2362 It is caused when an attempt is made to delete the CObject |
|
2363 when the reference count is not zero. |
|
2364 |
|
2365 @see CObject |
|
2366 */ |
|
2367 EObjObjectStillReferenced=33, |
|
2368 |
|
2369 |
|
2370 /** |
|
2371 This panic is raised by the Close() member function of a CObject. |
|
2372 |
|
2373 It is caused when the reference count is negative. |
|
2374 */ |
|
2375 EObjNegativeAccessCount=34, |
|
2376 |
|
2377 |
|
2378 /** |
|
2379 This panic is raised by the Remove() member function of an object |
|
2380 container, a CObjectCon. |
|
2381 |
|
2382 It is caused when the CObject to be removed from the container is |
|
2383 not contained by the container. |
|
2384 |
|
2385 @see CObject |
|
2386 */ |
|
2387 EObjRemoveObjectNotFound=35, |
|
2388 |
|
2389 |
|
2390 /** |
|
2391 This panic is raised by the Remove() member function of a container |
|
2392 index, a CObjectConIx. |
|
2393 |
|
2394 It is caused when the object container, a CObjectCon, to be removed from |
|
2395 the index is not contained by the index. |
|
2396 */ |
|
2397 EObjRemoveContainerNotFound=36, |
|
2398 |
|
2399 |
|
2400 /** |
|
2401 This panic is raised by the Remove() member function of an object index, |
|
2402 a CObjectIx. |
|
2403 |
|
2404 It is caused when the handle passed to the Remove() function does not |
|
2405 represent a CObject known to the object index. |
|
2406 */ |
|
2407 EObjRemoveBadHandle=37, |
|
2408 |
|
2409 |
|
2410 /** |
|
2411 This panic is raised by the At(), FindByName() and FindByFullName() member |
|
2412 functions of an object container, a CObjectCon. |
|
2413 |
|
2414 It is caused when the unique ID as derived from the handle is not the same |
|
2415 as the unique ID held by the object container. |
|
2416 */ |
|
2417 EObjFindBadHandle=38, |
|
2418 |
|
2419 |
|
2420 /** |
|
2421 This panic is raised by the At() member function of an object container, |
|
2422 a CObjectCon. |
|
2423 |
|
2424 It is caused when the index represented by the handle is outside |
|
2425 the permitted range. In effect, the handle is bad. |
|
2426 */ |
|
2427 EObjFindIndexOutOfRange=39, |
|
2428 |
|
2429 |
|
2430 /** |
|
2431 This panic is raised by the destructor of an active object, a CActive. |
|
2432 |
|
2433 It is caused by an attempt to delete the active object while it still |
|
2434 has a request outstanding. |
|
2435 */ |
|
2436 EReqStillActiveOnDestruct=40, |
|
2437 |
|
2438 |
|
2439 /** |
|
2440 This panic is raised by the Add() member function of an active scheduler, |
|
2441 a CActiveScheduler. |
|
2442 |
|
2443 It is caused by an attempt to add an active object to the active scheduler |
|
2444 when it has already been added to the active scheduler |
|
2445 */ |
|
2446 EReqAlreadyAdded=41, |
|
2447 |
|
2448 |
|
2449 /** |
|
2450 This panic is raised by the SetActive() member function of an active |
|
2451 object, a CActive. |
|
2452 |
|
2453 It is caused by an attempt to flag the active object |
|
2454 as active when it is already active, i.e. a request is still outstanding. |
|
2455 */ |
|
2456 EReqAlreadyActive=42, |
|
2457 |
|
2458 |
|
2459 /** |
|
2460 This panic is raised by the Install() member function of an active |
|
2461 scheduler, a CActiveScheduler. |
|
2462 |
|
2463 It is caused by attempting to install this active scheduler as the current |
|
2464 active scheduler when there is already a current active scheduler; |
|
2465 i.e. an active scheduler has already been installed. |
|
2466 */ |
|
2467 EReqManagerAlreadyExists=43, |
|
2468 |
|
2469 |
|
2470 /** |
|
2471 This panic is raised by the Start(), Stop() and Add() member functions |
|
2472 of an active scheduler, a CActiveScheduler. |
|
2473 |
|
2474 It is caused by attempting to start or stop an active scheduler or by |
|
2475 attempting to add an active object, a CActive, to the active scheduler. |
|
2476 */ |
|
2477 EReqManagerDoesNotExist=44, |
|
2478 |
|
2479 |
|
2480 /** |
|
2481 This panic is raised by the Stop() member function of an active scheduler, |
|
2482 a CActiveScheduler. |
|
2483 |
|
2484 Calling Stop() terminates the wait loop started by the most recent |
|
2485 call to Start(). The panic is caused by a call to Stop() which is not |
|
2486 matched by a corresponding call to Start(). |
|
2487 */ |
|
2488 EReqTooManyStops=45, |
|
2489 |
|
2490 |
|
2491 /** |
|
2492 This panic is raised by an active scheduler, a CActiveScheduler. |
|
2493 |
|
2494 It is caused by a stray signal. |
|
2495 */ |
|
2496 EReqStrayEvent=46, |
|
2497 |
|
2498 |
|
2499 /** |
|
2500 This panic is raised by the Error() virtual member function of an active |
|
2501 scheduler, a CActiveScheduler. |
|
2502 |
|
2503 This function is called when an active object’s RunL() function leaves. |
|
2504 Applications always replace the Error() function in a class derived from |
|
2505 CActiveScheduler; the default behaviour provided by CActiveScheduler raises |
|
2506 this panic. |
|
2507 */ |
|
2508 EReqActiveObjectLeave=47, |
|
2509 |
|
2510 |
|
2511 /** |
|
2512 This panic is raised by the Add() member function of an active scheduler, |
|
2513 a CActiveScheduler, when a NULL pointer is passed to the function. |
|
2514 */ |
|
2515 EReqNull=48, |
|
2516 |
|
2517 |
|
2518 /** |
|
2519 This panic is raised by the SetActive() and Deque() member functions of |
|
2520 an active object, a CActive. |
|
2521 |
|
2522 It is raised if the active object has not been added to the active scheduler. |
|
2523 */ |
|
2524 EActiveNotAdded=49, |
|
2525 |
|
2526 |
|
2527 /** |
|
2528 This panic is raised by the SetPriority() member function of an active |
|
2529 object, a CActive. |
|
2530 |
|
2531 It is caused by an attempt to change the priority of the active object |
|
2532 while it is active, i.e. while a request is outstanding). |
|
2533 */ |
|
2534 ESetPriorityActive=50, |
|
2535 |
|
2536 |
|
2537 /** |
|
2538 This panic is raised by the At(), After() and Lock() member functions of |
|
2539 the CTimer active object. |
|
2540 |
|
2541 It is caused by an attempt to request a timer event when the CTimer active |
|
2542 object has not been added to the active scheduler. |
|
2543 */ |
|
2544 ETimNotAdded=51, |
|
2545 |
|
2546 |
|
2547 /** |
|
2548 This panic is raised by the Start() member function of the periodic timer |
|
2549 active object, a CPeriodic, when a negative time interval is passed to |
|
2550 the function. |
|
2551 */ |
|
2552 ETimIntervalNegativeOrZero=52, |
|
2553 |
|
2554 |
|
2555 /** |
|
2556 This panic is raised by the Start() member function of the periodic |
|
2557 timer active object, a CPeriodic, when a negative delay time interval |
|
2558 is passed to the function. |
|
2559 */ |
|
2560 ETimDelayNegative=53, |
|
2561 |
|
2562 |
|
2563 /** |
|
2564 Not used. |
|
2565 */ |
|
2566 EUnusedBasePanic1=54, // Unused |
|
2567 |
|
2568 |
|
2569 /** |
|
2570 Not used. |
|
2571 */ |
|
2572 ESvrNoServerName=55, |
|
2573 |
|
2574 |
|
2575 /** |
|
2576 This panic is raised by the New() and NewL() member functions of |
|
2577 CBitMapAllocator when a negative or zero size is passed to them. |
|
2578 */ |
|
2579 EBmaSizeLessOrEqualToZero=56, |
|
2580 |
|
2581 |
|
2582 /** |
|
2583 This panic is raised by the Free(TInt aPos) member function of |
|
2584 CBitMapAllocator when a position value is passed which is out of bounds. |
|
2585 */ |
|
2586 EBmaFreeOutOfRange=57, |
|
2587 |
|
2588 |
|
2589 /** |
|
2590 This panic is raised by the IsFree(TInt aPos) member function of |
|
2591 CBitMapAllocator when a position value is passed which is out of bounds. |
|
2592 */ |
|
2593 EBmaAllocOutOfRange=58, |
|
2594 |
|
2595 |
|
2596 /** |
|
2597 This panic is raised by the AllocFromTopFrom(TInt aPos) member function |
|
2598 of CBitMapAllocator when a position value is passed which is out of bounds. |
|
2599 */ |
|
2600 EBmaAllocFromTopFromOutOfRange=59, |
|
2601 |
|
2602 |
|
2603 /** |
|
2604 Not used. |
|
2605 */ |
|
2606 EBmaFreeTooMany=60, |
|
2607 |
|
2608 |
|
2609 /** |
|
2610 Not used. |
|
2611 */ |
|
2612 EBmaFreeNotAllocated=61, |
|
2613 |
|
2614 |
|
2615 /** |
|
2616 This panic is raised by the AllocAt() member function of CBitMapAllocator |
|
2617 when the implied position has already been allocated. |
|
2618 */ |
|
2619 EBmaAllocAtAlreadyAllocated=62, |
|
2620 |
|
2621 |
|
2622 /** |
|
2623 This panic is raised as a result of a call to the Pop() and PopAndDestroy() |
|
2624 static member functions of the CleanupStack class. |
|
2625 |
|
2626 The panic occurs when TRAPs have been nested and an attempt is made to pop too |
|
2627 many items from the cleanup stack for the current nest level. |
|
2628 */ |
|
2629 EClnPopAcrossLevels=63, |
|
2630 |
|
2631 |
|
2632 /** |
|
2633 This panic is raised as a result of a call to the Pop() and PopAndDestroy() |
|
2634 static member functions of the CleanupStack class. |
|
2635 |
|
2636 The panic occurs when attempt is made to pop more items from the cleanup |
|
2637 stack than are on the cleanup stack. |
|
2638 */ |
|
2639 EClnPopUnderflow=64, |
|
2640 |
|
2641 |
|
2642 /** |
|
2643 The panic is raised as a result of a call to the Pop() and PopAndDestroy() |
|
2644 static member functions of the CleanupStack class. |
|
2645 |
|
2646 The panic occurs when an attempt is made to pop more items from the cleanup |
|
2647 stack than are on the cleanup stack. |
|
2648 */ |
|
2649 EClnLevelUnderflow=65, |
|
2650 |
|
2651 |
|
2652 /** |
|
2653 This panic is raised if an attempt is being made to insert a cleanup item |
|
2654 into a position on the cleanup stack reserved for marking the current TRAP |
|
2655 nest level. |
|
2656 |
|
2657 In practice this error occurs if the call to CleanupStack::PushL() happens |
|
2658 when there has been no call to TRAP(). |
|
2659 */ |
|
2660 EClnPushAtLevelZero=66, |
|
2661 |
|
2662 |
|
2663 /** |
|
2664 This panic is raised when building a TCleanupStackItem which is to be added |
|
2665 to the cleanup stack. |
|
2666 |
|
2667 The building of the TCleanupStackItem needs a TCleanupItem and this has |
|
2668 been constructed with a NULL cleanup operation (a TCleanupOperation). |
|
2669 */ |
|
2670 EClnNoCleanupOperation=67, |
|
2671 |
|
2672 |
|
2673 /** |
|
2674 This panic is raised if there are no free slots available on the cleanup |
|
2675 stack to insert a cleanup item. |
|
2676 */ |
|
2677 EClnNoFreeSlotItem=68, |
|
2678 |
|
2679 |
|
2680 /** |
|
2681 This panic is raised if no trap handler has been installed. |
|
2682 |
|
2683 In practice, this occurs if CTrapCleanup::New() has not been called |
|
2684 before using the cleanup stack. |
|
2685 */ |
|
2686 EClnNoTrapHandlerInstalled=69, |
|
2687 |
|
2688 |
|
2689 /** |
|
2690 This panic is raised as a result of a call to the versions of the |
|
2691 Pop() and PopAndDestroy() static member functions of the CleanupStack class |
|
2692 which take an explicit count of the items to be popped. |
|
2693 |
|
2694 The panic is caused by passing a negative value for the number of items |
|
2695 to be popped. |
|
2696 */ |
|
2697 EClnPopCountNegative=70, |
|
2698 |
|
2699 |
|
2700 /** |
|
2701 This panic is raised when TRAPs have been nested and an attempt is made to |
|
2702 exit from a TRAP nest level before all the cleanup items belonging to that |
|
2703 level have been popped off the cleanup stack. |
|
2704 */ |
|
2705 EClnLevelNotEmpty=71, |
|
2706 |
|
2707 |
|
2708 /** |
|
2709 This panic is raised by the constructor of the circular buffer base class, |
|
2710 a CCirBufBase, when the size value passed is zero or negative. |
|
2711 */ |
|
2712 ECircItemSizeNegativeOrZero=72, |
|
2713 |
|
2714 |
|
2715 /** |
|
2716 This panic is raised by a call to the SetLengthL() member function of |
|
2717 the circular buffer base class, a CCirBufBase, by passing a length |
|
2718 value which is zero or negative. |
|
2719 */ |
|
2720 ECircSetLengthNegativeOrZero=73, |
|
2721 |
|
2722 |
|
2723 /** |
|
2724 This panic is raised by a call to the Add() member function of a |
|
2725 circular buffer, a CCirBuf when the pointer to the item |
|
2726 to be added is NULL. |
|
2727 */ |
|
2728 ECircNoBufferAllocated=74, |
|
2729 |
|
2730 |
|
2731 /** |
|
2732 This panic is raised by a call to the Add() member function of a |
|
2733 circular buffer, a CCirBuf when the number of items to be added |
|
2734 is zero or negative. |
|
2735 */ |
|
2736 ECircAddCountNegative=75, |
|
2737 |
|
2738 |
|
2739 /** |
|
2740 This panic is raised by a call to the Remove() member function of |
|
2741 a circular buffer, a CCirBuf when the number of items to be removed is zero |
|
2742 or negative. |
|
2743 */ |
|
2744 ECircRemoveCountNegative=76, |
|
2745 |
|
2746 |
|
2747 /** |
|
2748 This panic is raise by CConsoleBase::Getch() when the asynchronous request |
|
2749 that fetches the character completes with a completion code that |
|
2750 is not KErrNone. |
|
2751 */ |
|
2752 EConsGetchFailed=77, |
|
2753 |
|
2754 |
|
2755 /** |
|
2756 Not used. |
|
2757 */ |
|
2758 ESecurityData=78, |
|
2759 |
|
2760 |
|
2761 /** |
|
2762 This panic is raised by the Alloc() member function |
|
2763 of CBitMapAllocator if the object is in an inconsistnt state. |
|
2764 */ |
|
2765 EBmaInconsistentState=79, |
|
2766 |
|
2767 |
|
2768 /** |
|
2769 This panic is raised by the AllocFrom() member function |
|
2770 of CBitMapAllocator if the position passed into it is outside its valid |
|
2771 range, i.e. is negative or is greater than or equal to the size. |
|
2772 */ |
|
2773 EBmaAllocFromOutOfRange=80, |
|
2774 |
|
2775 |
|
2776 /** |
|
2777 This panic is raised by the Alloc() member function |
|
2778 of CBitMapAllocator if the count value passed into it |
|
2779 is not positive. |
|
2780 */ |
|
2781 EBmaAllocCountNegative=81, |
|
2782 |
|
2783 |
|
2784 /** |
|
2785 This panic is raised by the AllocAligned() member function |
|
2786 of CBitMapAllocator if the alignment value passed into it |
|
2787 is negative or greater than or equal to 32. |
|
2788 */ |
|
2789 EBmaAllAlgnOutOfRange=82, |
|
2790 |
|
2791 |
|
2792 /** |
|
2793 This panic is raised by the AllocAlignedBlock() member function |
|
2794 of CBitMapAllocator if the alignment value passed into it |
|
2795 is negative or greater than or equal to 32. |
|
2796 */ |
|
2797 EBmaAllAlgnBOutOfRange=83, |
|
2798 |
|
2799 |
|
2800 /** |
|
2801 This panic is raised by the AllocAt() member function |
|
2802 of CBitMapAllocator if the position value passed into it |
|
2803 is outside the permitted range. |
|
2804 */ |
|
2805 EBmaAllocBlkOutOfRange=84, |
|
2806 |
|
2807 |
|
2808 /** |
|
2809 This panic is raised by the IsFree() member function |
|
2810 of CBitMapAllocator if the position value passed into it |
|
2811 is outside the permitted range. |
|
2812 */ |
|
2813 EBmaChkBlkOutOfRange=85, |
|
2814 |
|
2815 |
|
2816 /** |
|
2817 This panic is raised by the Free() member function |
|
2818 of CBitMapAllocator if the position value passed into it |
|
2819 is outside the permitted range. |
|
2820 */ |
|
2821 EBmaFreeBlkOutOfRange=86, |
|
2822 |
|
2823 |
|
2824 /** |
|
2825 This panic is raised by the Free() member function |
|
2826 of CBitMapAllocator if attempting to free a block that is not allocated. |
|
2827 */ |
|
2828 EBmaFreeBlkNotAllocated=87, |
|
2829 |
|
2830 |
|
2831 /** |
|
2832 This panic is raised by the Free() member function |
|
2833 of CBitMapAllocator if attempting to allocate a block that is not free. |
|
2834 */ |
|
2835 EBmaAllocBlkNotFree=88, |
|
2836 |
|
2837 |
|
2838 /** |
|
2839 This panic is raised by call to the Replace() member function of |
|
2840 CActiveScheduler when the replacement active scheduler is the same as |
|
2841 the existing active scheduler. |
|
2842 */ |
|
2843 EActiveSchedulerReplacingSelf=89, |
|
2844 |
|
2845 |
|
2846 /** |
|
2847 The panic is raised as a result of a call to the Pop() and PopAndDestroy() |
|
2848 static member functions of the CleanupStack class. |
|
2849 |
|
2850 The panic occurs when an the item to be popped is not the expected item. |
|
2851 */ |
|
2852 EClnCheckFailed=90, |
|
2853 |
|
2854 |
|
2855 /** |
|
2856 This panic is raised by CActiveSchedulerWait::Start() |
|
2857 when the CActiveSchedulerWait has already been started. |
|
2858 |
|
2859 @see CActiveSchedulerWait |
|
2860 */ |
|
2861 EActiveSchedulerWaitAlreadyStarted=91, |
|
2862 |
|
2863 |
|
2864 /** |
|
2865 This panic is raised by CActiveSchedulerWait::AsyncStop() and |
|
2866 CActiveSchedulerWait::CanStopNow() |
|
2867 when the CActiveSchedulerWait has not been started. |
|
2868 */ |
|
2869 EActiveSchedulerWaitNotStarted=92, |
|
2870 |
|
2871 |
|
2872 /** |
|
2873 This panic is raised during construction of a CAsyncOneShot if the attempt |
|
2874 to open a handle to the current thread fails. |
|
2875 */ |
|
2876 EAsyncOneShotSetupFailed=93, |
|
2877 |
|
2878 |
|
2879 /** |
|
2880 Not used. |
|
2881 */ |
|
2882 ESvrBadSecurityPolicy=94, |
|
2883 |
|
2884 |
|
2885 /** |
|
2886 This panic is raised if CPolicyServer::CustomSecurityCheckL(), |
|
2887 or CPolicyServer::CustomFailureActionL() are called. |
|
2888 |
|
2889 Odds are that you forgot to implement one of these two functions in your |
|
2890 CPolicyServer derived Server. |
|
2891 */ |
|
2892 EPolSvrCallingBaseImplementation=95, |
|
2893 |
|
2894 |
|
2895 /** |
|
2896 This panic is raised in debug builds by the CPolicyServer constructor if |
|
2897 TPolicy::iRanges[0] does not have a value of 0. |
|
2898 */ |
|
2899 EPolSvr1stRangeNotZero=96, |
|
2900 |
|
2901 |
|
2902 /** |
|
2903 This panic is raised in debug builds by the CPolicyServer constructor if |
|
2904 each element of TPolicy::iRanges is not greater than the previous. |
|
2905 */ |
|
2906 EPolSvrRangesNotIncreasing=97, |
|
2907 |
|
2908 |
|
2909 /** |
|
2910 This panic is raised in debug builds by the CPolicyServer constructor |
|
2911 unless every element in TPolicy::iElementsIndex is valid. Every element, |
|
2912 x, must not be one of (ESpecialCaseHardLimit <= x <= ESpecialCaseLimit) in |
|
2913 order to be valid. See CPolicyServer::TSpecialCase for more information. |
|
2914 */ |
|
2915 EPolSvrElementsIndexValueInvalid=98, |
|
2916 |
|
2917 |
|
2918 /** |
|
2919 This panic is raised in debug builds by the CPolicyServer constructor if |
|
2920 TPolicy::iOnConnect has an invalid value. iOnConnect must not be one of |
|
2921 (ESpecialCaseHardLimit <= x <= ESpecialCaseLimit) in order to be valid. |
|
2922 See CPolicyServer::TSpecialCase for more information. |
|
2923 */ |
|
2924 EPolSvrIOnConnectValueInvalid=99, |
|
2925 |
|
2926 |
|
2927 /** |
|
2928 This panic is raised if CPolicyServer::iPolicy is found to be invalid for |
|
2929 an unkown reason. There is a good chance that your policy would cause the |
|
2930 server to panic with one of the above specific policy panic codes if you |
|
2931 run it in debug mode. See the policy server documentation for a |
|
2932 description of a valid policy. |
|
2933 */ |
|
2934 EPolSvrPolicyInvalid=100, |
|
2935 |
|
2936 |
|
2937 /** |
|
2938 The value returned from CustomSecurityCheckL or CustomFailureActionL was |
|
2939 invalid. See CPolicyServer::TCustomResult for a list of valid results. |
|
2940 */ |
|
2941 EPolSvrInvalidCustomResult=101, |
|
2942 |
|
2943 |
|
2944 /** |
|
2945 This panic is raised in debug builds by the CPolicyServer constructor if |
|
2946 TPolicy.iRangeCount is not greater than 0. All policies given to the |
|
2947 policy server must contain at least 1 policy. |
|
2948 */ |
|
2949 EPolSvrIRangeCountInvalid=102, |
|
2950 |
|
2951 |
|
2952 /** |
|
2953 This panic is raised by the policy server framework if a message fails a |
|
2954 policy check (custom or not) and the associated action is EPanicClient. |
|
2955 */ |
|
2956 EPolSvrActionPanicClient=103, |
|
2957 |
|
2958 /** |
|
2959 This panic is raised by CObjectIx class methods if inconsistent data condition occurs |
|
2960 It can appear in debug build only. |
|
2961 */ |
|
2962 EObjInconsistent=104, |
|
2963 |
|
2964 /** |
|
2965 This panic is raised as a result of a call to the Pop() and PopAndDestroy() |
|
2966 static member functions of the CleanupStack class. |
|
2967 |
|
2968 The panic occurs when the cleanup operation of a popped item modifies the |
|
2969 cleanup stack. In such a case, the function cannot guarantee that the correct |
|
2970 items will be popped. |
|
2971 */ |
|
2972 EClnStackModified=105, |
|
2973 |
|
2974 }; |
|
2975 |
|
2976 |
|
2977 #endif |