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