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