sl@0: // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32\include\e32panic.h sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file e32panic.h sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: sl@0: #ifndef __E32PANIC_H__ sl@0: #define __E32PANIC_H__ sl@0: sl@0: sl@0: sl@0: sl@0: /** sl@0: Defines a set of panic numbers associated with the USER panic category. sl@0: sl@0: Some of these numbers are also associated with panics raised on sl@0: the kernel side, and may be associated with sl@0: a number of category names, including KERN-COMMON, KERN-HEAP etc. sl@0: */ sl@0: enum TCdtPanic sl@0: { sl@0: sl@0: /** sl@0: A thread has called User::Invariant(). sl@0: sl@0: Typically, User::Invariant() is called when a test for a class sl@0: invariant fails, i.e. when a test which checks that the internal data sl@0: of an object is self-consistent, fails. sl@0: sl@0: Check the design and implementation of your class. sl@0: sl@0: @see User sl@0: */ sl@0: EInvariantFalse=0, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETDateTimeUnderflow=1, sl@0: sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETDateTimeBadDate=2, sl@0: sl@0: sl@0: /** sl@0: A TDateTime object has been constructed with an invalid date or time field. sl@0: sl@0: @see TDateTime sl@0: */ sl@0: ETDateTimeBadDateTime=3, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETDateTimeAddDaysRange=4, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETDateTimeAddMonthsRange=5, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETDateTimeDaySecNegative=6, sl@0: sl@0: sl@0: /** sl@0: A panic raised by the Ptr() member function of a 16-bit descriptor sl@0: if the descriptor is invalid. sl@0: sl@0: @see TDesC16::Ptr() sl@0: */ sl@0: ETDes16BadDescriptorType=7, sl@0: sl@0: sl@0: /** sl@0: The length value passed to a 16-bit variant descriptor member sl@0: function is invalid. sl@0: sl@0: This panic may be raised by some descriptor constructors and, specifically, sl@0: by the Replace() and Set() descriptor member functions. sl@0: sl@0: @see TDes16 sl@0: */ sl@0: ETDes16LengthOutOfRange=8, sl@0: sl@0: sl@0: /** sl@0: The index value passed to the 16-bit variant descriptor Operator[] is sl@0: out of bounds. sl@0: */ sl@0: ETDes16IndexOutOfRange=9, sl@0: sl@0: sl@0: /** sl@0: The position value passed to a 16-bit variant descriptor member function sl@0: is out of bounds. sl@0: sl@0: The panic can be raised by the Left(), Right(), Mid(), Insert(), Delete() sl@0: and Replace() member functions of TDes16. sl@0: sl@0: @see TDes16 sl@0: */ sl@0: ETDes16PosOutOfRange=10, sl@0: sl@0: sl@0: /** sl@0: An operation to move or copy data to a 16-bit variant descriptor, sl@0: will cause the length of that descriptor to exceed its maximum length. sl@0: sl@0: This may be caused by any of the copying, appending or formatting member sl@0: functions but, specifically, by the Insert(), Replace(), Fill(), Fillz(), sl@0: and ZeroTerminate() descriptor member functions. It can also be caused by sl@0: the SetLength() function. sl@0: sl@0: @see TDes16 sl@0: */ sl@0: ETDes16Overflow=11, sl@0: sl@0: sl@0: /** sl@0: The format string passed to the 16-bit variant descriptor member functions sl@0: Format() and AppendFormat() has incorrect syntax. sl@0: sl@0: @see TDes16 sl@0: */ sl@0: ETDes16BadFormatDescriptor=12, sl@0: sl@0: sl@0: /** sl@0: An invalid variable list has been passed to the AppendFormatList() member sl@0: function of the 16-bit variant descriptor TDes16, when the format is %S or %s. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: @see TDes16 sl@0: */ sl@0: ETDes16BadFormatParams=13, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when expanding or contracting an HBufC16 buffer using sl@0: the ReAlloc() or ReAllocL() descriptor member functions and the new sl@0: specified length is too small to contain the data. sl@0: sl@0: @see HBufC16 sl@0: */ sl@0: ETDes16ReAllocTooSmall=14, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETDes16RemoteBadDescriptorType=15, sl@0: sl@0: sl@0: /** sl@0: In a call to the Replace() member function of the 16-bit variant sl@0: descriptor TDes16,the length of the source descriptor is negative sl@0: or exceeds the maximum length of the target descriptor. sl@0: sl@0: @see TDes16 sl@0: */ sl@0: ETDes16RemoteLengthOutOfRange=16, sl@0: sl@0: sl@0: /** sl@0: A 16-bit variant descriptor is being constructed with a negative sl@0: length value. sl@0: sl@0: This panic may also be raised if the Set(), Repeat() and the Find() member sl@0: functions are passed negative length values. sl@0: */ sl@0: ETDes16LengthNegative=17, sl@0: sl@0: sl@0: /** sl@0: A 16-bit variant descriptor is being constructed with a negative maximum sl@0: length value. sl@0: */ sl@0: ETDes16MaxLengthNegative=18, sl@0: sl@0: sl@0: /** sl@0: A panic raised by the Ptr() member function of an 8-bit descriptor sl@0: if the descriptor is invalid. sl@0: sl@0: @see TDesC8::Ptr() sl@0: */ sl@0: ETDes8BadDescriptorType=19, sl@0: sl@0: sl@0: /** sl@0: The length value passed to an 8-bit variant descriptor member sl@0: function is invalid. sl@0: sl@0: This panic may be raised by some descriptor constructors and, specifically, sl@0: by the Replace() and Set() descriptor member functions. sl@0: sl@0: @see TDes8 sl@0: */ sl@0: ETDes8LengthOutOfRange=20, sl@0: sl@0: sl@0: /** sl@0: The index value passed to the 8-bit variant descriptor Operator[] is sl@0: out of bounds. sl@0: */ sl@0: ETDes8IndexOutOfRange=21, sl@0: sl@0: sl@0: /** sl@0: The position value passed to an 8-bit variant descriptor member function sl@0: is out of bounds. sl@0: sl@0: The panic can be raised by the Left(), Right(), Mid(), Insert(), Delete() sl@0: and Replace() member functions of TDes8 sl@0: sl@0: @see TDes8 sl@0: */ sl@0: ETDes8PosOutOfRange=22, sl@0: sl@0: sl@0: /** sl@0: An operation to move or copy data to an 8-bit variant descriptor, sl@0: will cause the length of that descriptor to exceed its maximum length. sl@0: sl@0: This may be caused by any of the copying, appending or formatting member sl@0: functions but, specifically, by the Insert(), Replace(), Fill(), Fillz(), sl@0: and ZeroTerminate() descriptor member functions. It can also be caused by sl@0: the SetLength() function. sl@0: sl@0: @see TDes8 sl@0: */ sl@0: ETDes8Overflow=23, sl@0: sl@0: sl@0: /** sl@0: The format string passed to the 8-bit variant descriptor member functions sl@0: Format() and AppendFormat() has incorrect syntax. sl@0: sl@0: @see TDes8 sl@0: */ sl@0: ETDes8BadFormatDescriptor=24, sl@0: sl@0: sl@0: /** sl@0: An invalid variable list has been passed to the AppendFormatList() member sl@0: function of the 8-bit variant descriptor TDes8, when the format is %S or %s. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: @see TDes8 sl@0: */ sl@0: ETDes8BadFormatParams=25, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when expanding or contracting an HBufC8 buffer using sl@0: the ReAlloc() or ReAllocL() descriptor member functions and the new sl@0: specified length is too small to contain the data. sl@0: sl@0: @see HBufC8 sl@0: */ sl@0: ETDes8ReAllocTooSmall=26, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETDes8RemoteBadDescriptorType=27, sl@0: sl@0: sl@0: sl@0: /** sl@0: In a call to the Replace() member function of the 8-bit variant sl@0: descriptor TDes8,the length of the source descriptor is negative sl@0: or exceeds the maximum length of the target descriptor. sl@0: sl@0: @see TDes8 sl@0: */ sl@0: ETDes8RemoteLengthOutOfRange=28, sl@0: sl@0: sl@0: /** sl@0: An 8-bit variant descriptor is being constructed with a negative sl@0: length value. sl@0: sl@0: This panic may also be raised if the Set(), Repeat() and the Find() member sl@0: functions are passed negative length values. sl@0: */ sl@0: ETDes8LengthNegative=29, sl@0: sl@0: sl@0: /** sl@0: An 8-bit variant descriptor is being constructed with a negative maximum sl@0: length value. sl@0: */ sl@0: ETDes8MaxLengthNegative=30, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETEntLeaveWithoutEnter=31, sl@0: sl@0: sl@0: /** sl@0: It is raised by TRawEvent::Pos() when sl@0: the event is not a mouse/pen type event. sl@0: sl@0: This panic is raised in debug builds only. sl@0: */ sl@0: ETEventNotMoveType=32, sl@0: sl@0: sl@0: /** sl@0: It is raised by TRawEvent::ScanCode() when sl@0: the event is not a key down, up or repeat event. sl@0: sl@0: This panic is raised in debug builds only. sl@0: */ sl@0: ETEventNotKeyType=33, sl@0: sl@0: sl@0: /** sl@0: It is raised by TRawEvent::Modifiers() when sl@0: the event is not a modifier update event. sl@0: sl@0: This panic is raised in debug builds only. sl@0: */ sl@0: ETEventNotUpdateModifiersType=34, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the default At() virtual member function of TKey. sl@0: sl@0: The function is intended to be overridden by a derived class. sl@0: sl@0: @see TKey sl@0: */ sl@0: ETFuncTKeyVirtualAt=35, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the default Swap() virtual member function of TSwap. sl@0: sl@0: The function is intended to be overridden by a derived class. sl@0: sl@0: @see TSwap sl@0: */ sl@0: ETFuncTSwapVirtualSwap=36, sl@0: sl@0: sl@0: /** sl@0: The index value passed to the operator[] of a TUidType is negative sl@0: or is greater than or equal to KMaxCheckedUid. sl@0: sl@0: @see KMaxCheckedUid sl@0: @see TUidType sl@0: */ sl@0: ETFuncUidTypeBadIndex=37, sl@0: sl@0: sl@0: /** sl@0: The length of the descriptor passed to the Set(TDesC8&) member function of TCheckedUid sl@0: is not equal to the size of a TCheckedUid object. sl@0: sl@0: @see TCheckedUid sl@0: */ sl@0: ETFuncCheckedUidBadSet=38, sl@0: sl@0: sl@0: /** sl@0: The size specified of a new heap is smaller than the permitted minimum; sl@0: it must be at least the size of a RHeap object. sl@0: sl@0: On the user side this is associated with the USER category; on the kernel side sl@0: this is associated with the KERN-HEAP category. sl@0: */ sl@0: ETHeapNewBadSize=39, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETHeapCreateSizeTooSmall=40, sl@0: sl@0: sl@0: /** sl@0: In a call to UserHeap::ChunkHeap(), the value defining the minimum length sl@0: of the heap is greater than the value defining the maximum length to sl@0: which the heap can grow. sl@0: sl@0: @see UserHeap sl@0: */ sl@0: ETHeapCreateMaxLessThanMin=41, sl@0: sl@0: sl@0: /** sl@0: In a call to the RHeap member functions, AllocLen(), Free(), FreeZ(), sl@0: ReAlloc(), ReAllocL(), Adjust() and AdjustL(), a pointer passed to these sl@0: functions does not point to a valid cell. sl@0: sl@0: On the user side this is associated with the USER category; on the kernel side sl@0: this is associated with the KERN-HEAP category. sl@0: */ sl@0: ETHeapBadCellAddress=42, sl@0: sl@0: sl@0: /** sl@0: In a call to the Adjust() and AdjustL() member functions of RHeap, a heap sl@0: cell is being shrunk and the amount by which the cell is being shrunk sl@0: is less than the current length of the cell. sl@0: */ sl@0: ETHeapAdjustTooSmall=43, sl@0: sl@0: sl@0: /** sl@0: In a call to the Free() and FreeZ() member functions of RHeap,the cell sl@0: being freed overlaps the next cell on the free list (i.e. the first cell sl@0: on the free list with an address higher than the one being freed). sl@0: */ sl@0: ETHeapFreeBadNextCell=44, sl@0: sl@0: sl@0: /** sl@0: In a call to the Free() and FreeZ() member functions of RHeap, the cell sl@0: being freed overlaps the previous cell on the free list (i.e. the last cell sl@0: on the free list with an address lower than the one being freed). sl@0: */ sl@0: ETHeapFreeBadPrevCell=45, sl@0: sl@0: sl@0: /** sl@0: In a call to the ReAlloc() and ReAllocL() member functions of RHeap, the sl@0: cell being reallocated overlaps the next cell on the free list (i.e. the sl@0: first cell on the free list with an address higher than the one being sl@0: reallocated). sl@0: */ sl@0: ETHeapReAllocBadNextCell=46, sl@0: sl@0: sl@0: /** sl@0: In a call to the Alloc(), AllocL() or AllocLC() member functions of RHeap, sl@0: an attempt has been made to allocate a cell from a heap, using an unsigned sl@0: size value which is greater than or equal to the value of KMaxTInt/2. sl@0: sl@0: This panic may also be raised by the heap walker when it finds a bad sl@0: allocated heap cell size. sl@0: sl@0: @see User::Check() sl@0: @see RAllocator::Check() sl@0: @see KMaxTInt sl@0: */ sl@0: ETHeapBadAllocatedCellSize=47, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the heap walker when it finds a bad sl@0: allocated heap cell address. sl@0: */ sl@0: ETHeapBadAllocatedCellAddress=48, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the heap walker when it finds a bad sl@0: free heap cell address. sl@0: */ sl@0: ETHeapBadFreeCellAddress=49, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETHeapDebugBufferOverflow=50, sl@0: sl@0: sl@0: /** sl@0: A call has been made to the __DbgMarkEnd() member function of RHeap, when sl@0: there has been no corresponding call to the __DbgMarkStart() member function. sl@0: sl@0: This panic is also raised when there are more calls to __DbgMarkEnd() than sl@0: to __DbgMarkStart(). These functions are part of the debug assistance provided by sl@0: the RHeap class. sl@0: sl@0: This panic is raised in debug builds only. sl@0: */ sl@0: ETHeapDebugUnmatchedCallToCheckHeap=51, sl@0: sl@0: sl@0: /** sl@0: In a call to the Adjust() and AdjustL() member functions of an RHeap, sl@0: the offset from the start of the cell being stretched or shrunk is sl@0: a negative value. sl@0: */ sl@0: ETHeapAdjustOffsetNegative=52, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETHeapAllocSizeNegative=53, sl@0: sl@0: sl@0: /** sl@0: In a call to the ReAlloc() and ReAllocL() member functions of an RHeap, sl@0: the new size for the cell being reallocated is a negative value. sl@0: */ sl@0: ETHeapReAllocSizeNegative=54, sl@0: sl@0: sl@0: /** sl@0: This panic is caused by the UserHeap::ChunkHeap() static function when sl@0: the value defining the minimum length of the heap is negative. sl@0: */ sl@0: ETHeapMinLengthNegative=55, sl@0: sl@0: sl@0: /** sl@0: This panic is caused by the UserHeap::ChunkHeap() static function when sl@0: the value defining the maximum length to which the heap can grow, sl@0: is negative. sl@0: */ sl@0: ETHeapMaxLengthNegative=56, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when closing a shared heap using the Close() member sl@0: function of RHeap and the access count is zero or negative. sl@0: sl@0: A zero or negative access count suggests that an attempt is being made sl@0: to close the heap too many times. sl@0: */ sl@0: EAllocatorClosedTooManyTimes=57, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when opening a heap for shared access using the Open() sl@0: member function of RHeap and the heap type is not EChunkNormal. sl@0: */ sl@0: ETHeapOnlyChunkHeaps=58, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the UnGet() member function of the 8-bit variant sl@0: lexical analyzer, TLex8, if the character position is already at sl@0: the start of the string. sl@0: sl@0: @see TLex8 sl@0: */ sl@0: ETLex8UnGetUnderflow=59, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Inc() member function of the 8-bit variant sl@0: lexical analyzer, TLex8, if the resulting character position lies before sl@0: the start of the string or after the end of the string. sl@0: sl@0: @see TLex8 sl@0: */ sl@0: ETLex8IncOutOfRange=60, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the SkipAndMark() member function of the 8-bit sl@0: variant lexical analyzer, TLex8, if the resulting character position lies sl@0: before the start of the string, or after the end of the string. sl@0: sl@0: @see TLex8 sl@0: */ sl@0: ETLex8SkipOutOfRange=61, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETLex8BadFormatList=62, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the ValidateMark() member function of the 8-bit sl@0: variant lexical analyzer, TLex8, if the position of the extraction mark sl@0: lies before the start of the string or after the end of the string. sl@0: sl@0: @see TLex8 sl@0: */ sl@0: ETLex8MarkOutOfRange=63, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the UnGet() member function of the 16-bit variant sl@0: lexical analyzer, TLex16, if the character position is already at the start sl@0: of the string. sl@0: sl@0: @see TLex16 sl@0: */ sl@0: ETLex16UnGetUnderflow=64, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Inc() member function of the 16-bit variant sl@0: lexical analyzer, TLex16, if the resulting character position lies before sl@0: the start of the string or after the end of the string. sl@0: sl@0: @see TLex16 sl@0: */ sl@0: ETLex16IncOutOfRange=65, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the SkipAndMark() member function of the 16-bit sl@0: variant lexical analyzer, TLex16, if the resulting character position lies sl@0: before the start of the string or after the end of the string. sl@0: sl@0: @see TLex16 sl@0: */ sl@0: ETLex16SkipOutOfRange=66, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETLex16BadFormatList=67, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the ValidateMark() member function of the 16-bit sl@0: variant lexical analyzer, TLex16, if the position of the extraction mark sl@0: lies before the start of the string or after the end of the string. sl@0: sl@0: @see TLex16 sl@0: */ sl@0: ETLex16MarkOutOfRange=68, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the TDateSuffix constructor or its Set() member sl@0: function when the suffix index specified is negative or is greater than or sl@0: equal to the value KMaxSuffixes. sl@0: sl@0: The index is used to access a locale dependent table of suffix characters, sl@0: which can be appended to the dates of the month (e.g. the characters "st" sl@0: for 1st, "nd" for 2nd, "st" for 31st). sl@0: sl@0: @see TDateSuffix sl@0: @see KMaxSuffixes sl@0: */ sl@0: ETLoclSuffixOutOfRange=69, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when attempting to complete a client/server request sl@0: and the RMessagePtr is null. sl@0: */ sl@0: ETMesCompletion=70, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: EMesBadRetryCount=71, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Send() and SendReceive() member functions sl@0: of RSessionBase, the client interface for communication with a server, sl@0: when the specified operation code identifying the required service is sl@0: either negative or a value greater than KMaxTint. sl@0: sl@0: @see RSessionBase sl@0: @see KMaxTint sl@0: */ sl@0: ETMesBadFunctionNumber=72, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Receive() member function of RServer, sl@0: the handle to the server, when the attempt to receive a message sl@0: for the server, synchronously, fails. sl@0: sl@0: @see RServer sl@0: */ sl@0: ETMesReceiveFailed=73, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ESQueOffsetNegative=74, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the constructor of a singly linked list header, sl@0: a TSglQue or by the SetOffset() member function when the specified offset sl@0: is not 4 byte aligned, i.e. when it is not divisible by 4. sl@0: sl@0: @see TSglQue sl@0: */ sl@0: ESQueOffsetNotAligned=75, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when attempting to remove an object from a singly sl@0: linked list, using the Remove() member function of TSglQue, when sl@0: that object is not in the list. sl@0: sl@0: @see TSglQue sl@0: */ sl@0: ESQueLinkNotQueued=76, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETQueOffsetNegative=77, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the constructor of a doubly linked list header, sl@0: a TDblQue or by the SetOffset() member function, when the specified sl@0: offset is not 4 byte aligned, i.e. when it is not divisible by 4. sl@0: sl@0: @see TDblQue sl@0: */ sl@0: ETQueOffsetNotAligned=78, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by a call to either the First() or the Last() member sl@0: functions of a doubly linked list, a TDblQue, which return pointers sl@0: to the first and last element in the list respectively; the panic sl@0: occurs when the list is empty. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: @see TDblQue sl@0: */ sl@0: ETQueQueueEmpty=79, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the post increment operator, operator++, the post sl@0: decrement operator, operator- and the return current element sl@0: operator, operator T*, of the doubly linked list iterator, a TDblQueIter; sl@0: the panic occurs when the element returned by these operators is not in sl@0: the list. sl@0: sl@0: Typically, this is caused by the removal of the element from the list prior sl@0: to calling these operators. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: @see TDblQueIter sl@0: */ sl@0: ETQueLinkHasBeenRemoved=80, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the get rectangle operator, operator[], of sl@0: a clipping region, derived from the abstract base class TRegion. sl@0: sl@0: The panic occurs when the index, which refers to the specific rectangle sl@0: within the region, is greater than or equal to the number of rectangles sl@0: contained within the region (as returned by the Count() member function). sl@0: sl@0: The index must be strictly less than the number of contained rectangles. sl@0: sl@0: @see TRegion sl@0: */ sl@0: ETRegionOutOfRange=81, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when sorting the rectangles within a clipping region, sl@0: derived from the abstract base class TRegion, using the Sort() member sl@0: function of TRegion. sl@0: sl@0: The panic occurs when the region is invalid. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: @see TRegion sl@0: */ sl@0: ETRegionInvalidRegionInSort=82, sl@0: sl@0: sl@0: /** sl@0: This panic occurs when the Kernel sends a message to the Kernel server sl@0: and this completes with an error, i.e. an error code which is not KErrNone. sl@0: */ sl@0: ETUtlKernelServerSend=83, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Panic() member function of RTest, the test class. sl@0: */ sl@0: ERTestFailed=84, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the CheckConsoleCreated() member functions of sl@0: RTest and RTestJ, the test classes, when the creation of a console, sl@0: as derived from a CConsoleBase, fails. sl@0: */ sl@0: ERTestCreateConsole=85, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the static function User::After() when sl@0: the specified time interval is negative. sl@0: */ sl@0: EExecAfterTimeNegative=86, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when the time interval passed to the After() member sl@0: function of RTimer is negative. sl@0: sl@0: @see RTimer sl@0: */ sl@0: ERTimerAfterTimeNegative=87, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by Mem::Compare(), Mem::CompareC() and Mem::CompareF() sl@0: when the length of the area of memory designated as the left hand area, sl@0: is negative. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: On the user side this is associated with the USER category; on the kernel side sl@0: this is associated with the KERN-COMMON category. sl@0: sl@0: @see Mem sl@0: */ sl@0: EMemLeftNegative=88, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by Mem::Compare(), Mem::CompareC() and Mem::CompareF() sl@0: when the length of the area of memory designated as the right hand area, sl@0: is negative. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: On the user side this is associated with the USER category; on the kernel side sl@0: this is associated with the KERN-COMMON category. sl@0: sl@0: @see Mem sl@0: */ sl@0: EMemRightNegative=89, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by Mem::Copy() when the length of the area of memory sl@0: to be copied is negative. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: On the user side this is associated with the USER category; on the kernel side sl@0: this is associated with the KERN-COMMON category. sl@0: sl@0: @see Mem sl@0: */ sl@0: EMemCopyLengthNegative=90, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by Mem::Move() when the length of the area of memory sl@0: to be moved is not a multiple of 4. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: On the user side this is associated with the USER category; on the kernel side sl@0: this is associated with the KERN-COMMON category. sl@0: sl@0: @see Mem sl@0: */ sl@0: EWordMoveLengthNotMultipleOf4=91, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by Mem::Move() when the address of the source for sl@0: the move operation is not aligned on a 4 byte boundary. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: On the user side this is associated with the USER category; on the kernel side sl@0: this is associated with the KERN-COMMON category. sl@0: sl@0: @see Mem sl@0: */ sl@0: EWordMoveSourceNotAligned=92, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by Mem::Move() when the address of the target for sl@0: the move operation is not aligned on a 4 byte boundary. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: On the user side this is associated with the USER category; on the kernel side sl@0: this is associated with the KERN-COMMON category. sl@0: sl@0: @see Mem sl@0: */ sl@0: EWordMoveTargetNotAligned=93, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by Mem::Swap() when the length of the area of sl@0: memory to be swapped is negative. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: On the user side this is associated with the USER category; on the kernel side sl@0: this is associated with the KERN-COMMON category. sl@0: sl@0: @see Mem sl@0: */ sl@0: EMemSwapLengthNegative=94, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by Mem::Fill() and Mem::FillZ() when the length of sl@0: the area of memory to be filled is negative. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: On the user side this is associated with the USER category; on the kernel side sl@0: this is associated with the KERN-COMMON category. sl@0: sl@0: @see Mem sl@0: */ sl@0: EMemFillLengthNegative=95, sl@0: sl@0: sl@0: /** sl@0: The value for the number of records to be sorted passed sl@0: to User::QuickSort() is negative. sl@0: sl@0: @see User sl@0: */ sl@0: ESortCountNegative=96, sl@0: sl@0: sl@0: /** sl@0: The value for the number of records taking part in the search passed sl@0: to User::BinarySearch() is negative. sl@0: sl@0: @see User sl@0: */ sl@0: EBinarySearchCountNegative=97, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the constructor of the base key class, TKey. sl@0: sl@0: It occurs when the offset value passed to the constructor is negative. sl@0: As TKey is an abstract class, i.e. objects of type TKey are not intended sl@0: to be explicitly constructed, look at the offset value passed to sl@0: the constructors of derived classes such as TKeyArrayFix, TKeyArrayVar, sl@0: and TKeyArrayPak for the cause of the panic. sl@0: sl@0: @see TKey sl@0: @see TKeyArrayFix sl@0: @see TKeyArrayVar sl@0: @see TKeyArrayPak sl@0: */ sl@0: EKeyOffsetNegative=98, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a local or global chunk is created using sl@0: the RChunk member functions: CreateLocal(), CreateGlobal(), sl@0: CreateDoubleEndedLocal() and CreateDoubleEndedGlobal(). sl@0: sl@0: It occurs when the value for the maximum size to which this chunk can sl@0: be adjusted, is negative. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCreateMaxSizeNegative=99, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a local or global chunk is created using sl@0: the RChunk member functions: CreateLocal() and CreateGlobal(). sl@0: sl@0: It occurs when the value for the number of bytes to be committed to sl@0: this chunk on creation, is negative. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCreateSizeNotPositive=100, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a local or global chunk is created using sl@0: the RChunk member functions: CreateLocal() and CreateGlobal(). sl@0: sl@0: It occurs when the value for the number of bytes to be committed to sl@0: this chunk on creation is greater than the value for the maximum size sl@0: to which this chunk can be adjusted. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCreateMaxLessThanMin=101, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when changing the number of bytes committed to a chunk sl@0: by calling the Adjust() member function of RChunk. sl@0: sl@0: The panic occurs when the value passed to the function is negative. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkAdjustNewSizeNegative=102, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ESesDelayTimeNegative=103, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ESesRetryCountNegative=104, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a local or global semaphore is created using sl@0: the RSemaphore member functions: CreateLocal() and CreateGlobal(), and sl@0: the value for the initial semaphore count is negative. sl@0: sl@0: @see RSemaphore sl@0: */ sl@0: ESemCreateCountNegative=105, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a semaphore is signaled using sl@0: the Signal(TInt aCount) member function and the count value is negative. sl@0: sl@0: @see RSemaphore sl@0: */ sl@0: ESemSignalCountNegative=106, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a critical section is signalled using sl@0: the Signal() member function and the call to Signal() is not matched sl@0: by an earlier call to Wait(), which suggests that this is a stray signal. sl@0: sl@0: @see RCriticalSection sl@0: */ sl@0: ECriticalSectionStraySignal=107, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: EThrdHeapNotChunkType=108, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when creating a thread using the Create() member sl@0: functions of RThread. sl@0: sl@0: The panic occurs when the value of the stack size passed to sl@0: these functions is negative. sl@0: sl@0: @see RThread sl@0: */ sl@0: EThrdStackSizeNegative=109, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when creating a thread using the Create() member sl@0: functions of RThread. sl@0: sl@0: The panic is only raised by those variants of Create() that create a new sl@0: heap for the new thread. The panic occurs if the minimum heap size sl@0: specified is less than KMinHeapSize. sl@0: sl@0: @see RThread sl@0: @see KMinHeapSize sl@0: */ sl@0: EThrdHeapMinTooSmall=110, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when creating a thread using the Create() member sl@0: functions of RThread. sl@0: sl@0: The panic is only raised by those variants of Create() which create a new sl@0: heap for the new thread. The panic occurs if the minimum heap size sl@0: specified is greater than the maximum size to which the heap can grow. sl@0: sl@0: @see RThread sl@0: */ sl@0: EThrdHeapMaxLessThanMin=111, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Alloc() and AllocL() member functions of class sl@0: RRef when the size value passed is negative. sl@0: */ sl@0: ERefAllocSizeNegative=112, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by: sl@0: sl@0: 1. the constructor of a time representation object, a TTime, which takes sl@0: a text string, when the format of that text string is incorrect sl@0: or represents an invalid date/time. sl@0: sl@0: 2. the Parse() member function of a time representation object, a TTime, sl@0: if the century offset value is either negative or is greater than sl@0: or equal to 100. sl@0: sl@0: 3. the Time::DaysInMonth() function, if an invalid month value is passed. sl@0: sl@0: @see TTime sl@0: @see Time sl@0: */ sl@0: ETTimeValueOutOfRange=113, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by member functions of TBusLocalDrive when no sl@0: connection has been made to a local drive. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: @see TBusLocalDrive sl@0: */ sl@0: EDriveNotConnected=114, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when attempting to connect to a local drive sl@0: using the Connect() member function of TBusLocalDrive, and sl@0: the specified drive number is out of range, i.e. the drive number sl@0: is negative or is greater than or equal to KMaxLocalDrives. sl@0: sl@0: @see TBusLocalDrive sl@0: @see KMaxLocalDrives sl@0: */ sl@0: EDriveOutOfRange=115, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Lookup() member function of RLibrary when sl@0: the ordinal number of the required DLL function, is zero or negative. sl@0: sl@0: @see RLibrary sl@0: */ sl@0: EBadLookupOrdinal=116, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: EChunkHeapBadOffset=117, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETQueLinkAlreadyInUse=118, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when setting a new currency symbol using sl@0: the User::SetCurrencySymbol() function. sl@0: sl@0: The panic occurs when the length of the descriptor containing sl@0: the new symbol is greater than KMaxCurrencySymbol. sl@0: sl@0: @see User sl@0: @see KMaxCurrencySymbol sl@0: */ sl@0: ECurrencySymbolOverflow=119, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the CreateDoubleEndedLocal() sl@0: and CreateDoubleEndedGlobal() member functions of RChunk when the lower sl@0: address of the committed region is negative. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCreateBottomNegative=120, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the CreateDoubleEndedLocal() sl@0: and CreateDoubleEndedGlobal() member functions of RChunk when the upper sl@0: address of the committed region is negative. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCreateTopNegative=121, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the CreateDoubleEndedLocal() sl@0: and CreateDoubleEndedGlobal() member functions of RChunk when the upper sl@0: address of the committed region is lower than the lower address of sl@0: the committed region. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCreateTopLessThanBottom=122, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the CreateDoubleEndedLocal() sl@0: and CreateDoubleEndedGlobal() member functions of RChunk when the upper sl@0: address of the committed region is lower than the maximum size to which sl@0: this chunk can be adjusted. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCreateTopBiggerThanMax=123, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by RChunk::AdjustDoubleEnded() when the lower address sl@0: of the committed region is negative. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkAdjustBottomNegative=124, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by RChunk::AdjustDoubleEnded() when the upper address sl@0: of the committed region is negative. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkAdjustTopNegative=125, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by RChunk::AdjustDoubleEnded() when the upper address sl@0: of the committed region is lower than the lower address of the committed sl@0: region. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkAdjustTopLessThanBottom=126, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when constructing an array of pointers, sl@0: an RPointerArray, and specifying a granularity value which is sl@0: one of the following: sl@0: sl@0: 1. zero sl@0: sl@0: 2. negative sl@0: sl@0: 3. greater than 0x10000000. sl@0: sl@0: @see RPointerArray sl@0: */ sl@0: EBadArrayGranularity=127, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when constructing an array of fixed length objects, sl@0: an RArray, and specifying a key offset value which is one of the following: sl@0: sl@0: 1. negative sl@0: sl@0: 2. not a multiple of 4 sl@0: sl@0: 3. greater than or equal to the size of the array elements. sl@0: sl@0: @see RArray sl@0: */ sl@0: EBadArrayKeyOffset=128, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when constructing an array of fixed length objects, sl@0: an RArray, and the length of the array elements is one of the following: sl@0: sl@0: 1. zero sl@0: sl@0: 2. negative sl@0: sl@0: 3. greater than 640. sl@0: sl@0: @see RArray sl@0: */ sl@0: EBadArrayEntrySize=129, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when an index value passed to a member function sl@0: of RArray or RPointerArray identifying an array element, is out of bounds. sl@0: sl@0: @see RArray sl@0: @see RPointerArray sl@0: */ sl@0: EBadArrayIndex=130, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when the value identifying the insertion position sl@0: in a call to RArray::Insert() or RPointerArray::Insert(), is either sl@0: negative or greater than the number of elements in the array. sl@0: sl@0: @see RArray sl@0: @see RPointerArray sl@0: */ sl@0: EBadArrayPosition=131, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when an index value passed to sl@0: Mem::CollationMethodByIndex() or Mem::CollationMethodId() is out of bounds. sl@0: sl@0: @see Mem sl@0: */ sl@0: EBadCollationRulesIndex=132, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when an index value passed to TFixedArray::At() sl@0: or TFixedArray::operator[] is out of bounds. sl@0: sl@0: @see TFixedArray sl@0: */ sl@0: EBadFixedArrayIndex=133, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ERawEventFlipTypeNotImplemented=134, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ENumberOfParametersExceedsMaximum=136, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions during the handling sl@0: of the variable parameter lists when the parameter is too big. sl@0: */ sl@0: ESizeOfParameterTooBig=137, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists when an index value sl@0: for the parameters is outside its permitted range. sl@0: */ sl@0: EParameterIndexOutOfRange1=138, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists when an index value sl@0: for the parameters is outside its permitted range. sl@0: sl@0: This panic is raised in debug mode only. sl@0: */ sl@0: EParameterIndexOutOfRange2=139, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: EFormatDirectiveAlreadySet1=140, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: EFormatDirectiveAlreadySet2=141, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: ENumberOfFormatDirectivesExceedsMaximum=142, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: ENoParametersInFormatDirective=143, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: EFormatDirectiveNotYetSet=144, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: EBadFormatDirectiveDataPointer=145, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: EFormatDirectiveIndexOutOfRange=146, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: ENotOnFirstPassOfFormatDescriptor1=147, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: ENotOnFirstPassOfFormatDescriptor2=148, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: EInconsistentSizeOfParameter=149, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: ENullTargetPointer=150, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: ENegativeSizeOfParameter=151, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: EErrorOnSecondPassOfFormatDescriptor=152, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: EUnexpectedError1=153, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: EUnexpectedError2=154, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ECreateTransferBufferSizeNotPositive=155, sl@0: sl@0: sl@0: /** sl@0: This panic occurs in the construction of an RPointerArray object from sl@0: an existing pointer array object, when the number defining the number sl@0: of entries in the existing array is not positive. sl@0: sl@0: @see RPointerArray sl@0: */ sl@0: EBadArrayCount=156, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by RChunk::Commit() when the value of the offset of sl@0: the committed region is negative. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCommitOffsetNegative=157, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by RChunk::Commit() when the size of the sl@0: the committed region is negative. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCommitSizeNegative=158, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by RChunk::Allocate() when the size of the sl@0: the committed region is negative. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkAllocateSizeNegative=159, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by RChunk::Decommit() when the value of the offset of sl@0: the committed region is negative. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkDecommitOffsetNegative=160, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by RChunk::Decommit() when the size of the sl@0: the committed region is negative. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkDecommitSizeNegative=161, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when an invalid chunk type has been passed to sl@0: the internal member RChunk::Create() sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCreateInvalidType=162, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a global chunk is being created and sl@0: no name has been specified. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCreateInvalidName=163, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when creating a 'normal' chunk and the offset of the bottom of the new committed region sl@0: from the base of the chunk's reserved region is not zero. sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCreateInvalidBottom=164, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the internal function RLibrary::Init() when the function that sl@0: constructs static data following a DLL load, leaves. sl@0: */ sl@0: EDllStaticConstructorLeave=165, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally, if a call to the static data destructors sl@0: following a library handle close, leaves. sl@0: */ sl@0: EDllStaticDestructorLeave=166, sl@0: sl@0: sl@0: /** sl@0: This panic is raised in a call to RAllocator::Close() when the number of sl@0: handles is greater than the maximum allowed, RAllocator::EMaxHandles. sl@0: sl@0: @see RAllocator sl@0: */ sl@0: EAllocatorBadHandleCount=167, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the internal RHeap constructor when the offset value is invalid. sl@0: */ sl@0: ETHeapNewBadOffset=168, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Symbian internal function RHeap::Reduce() on failure. sl@0: */ sl@0: ETHeapReduceFailed=169, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Symbian internal function RHeap::Reset() on failure. sl@0: */ sl@0: ETHeapResetFailed=170, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Symbian internal function RHeap::WalkCheckCell() on a sl@0: bad free cell size. sl@0: */ sl@0: ETHeapBadFreeCellSize=171, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Symbian internal function RHeap::Initialise() on a sl@0: bad alignment value. sl@0: */ sl@0: ETHeapNewBadAlignment=172, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ETHeapBadDebugOp=173, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when an unimplemented pure virtual function is called. sl@0: */ sl@0: EPureVirtualCalled=174, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a User::Leave() is called and there sl@0: is no TRAP frame. sl@0: */ sl@0: EUserLeaveWithoutTrap=175, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a mathematical function fails with an sl@0: unrecognized exception, i.e. one that is none of: KErrArgument, sl@0: KErrDivideByZero, KErrOverflow or KErrUnderflow. sl@0: */ sl@0: EMathUnknownError=176, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Symbian internal function RHeap::WalkCheckCell() on a sl@0: bad cell type. sl@0: */ sl@0: ETHeapWalkBadCellType=177, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when descriptors convert integers into text, and sl@0: an invalid radix is passed, i.e. a value that is not one sl@0: of the TRadix enum values. sl@0: */ sl@0: EInvalidRadix=178, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when converting and appending numbers in descriptors, sl@0: and buffers are not aligned on even addresses. sl@0: sl@0: This panic is raised in debug builds only. sl@0: */ sl@0: EDes16PadAppendBadAlign=179, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: EMsgQueueSizeInvalid=180, sl@0: sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: EHuffmanTooManyCodes=181, sl@0: sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: EHuffmanInvalidCoding=182, sl@0: sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: EBadArrayFindMode=183, sl@0: sl@0: sl@0: /** sl@0: In a call to RNotifier::Notify(), the length of one or more of sl@0: the descriptors containing the displayable text is bigger than sl@0: the maximum TUint16 value. sl@0: */ sl@0: ENotifierTextTooLong=184, sl@0: sl@0: sl@0: /** sl@0: In a call to one of the functions: sl@0: TMonthName::Set() sl@0: TMonthNameAbb::Set() sl@0: TDayName::Set() sl@0: TDayNameAbb::Set() sl@0: sl@0: the month or day value is outside the permitted range of values. sl@0: sl@0: @see TMonthName sl@0: @see TMonthNameAbb sl@0: @see TDayName sl@0: @see TDayNameAbb sl@0: */ sl@0: EBadLocaleParameter=185, sl@0: sl@0: sl@0: /** sl@0: This panic is raised internally by the descriptor formatting functions sl@0: during the handling of the variable parameter lists. sl@0: */ sl@0: EUnexpectedError3=186, sl@0: sl@0: sl@0: /** sl@0: In a call to TDes8::Expand(), either the length, or the maximum length, sl@0: or the pointer to the data is not an even number. sl@0: sl@0: @see TDes8 sl@0: */ sl@0: EDes8ExpandOdd=187, sl@0: sl@0: sl@0: /** sl@0: In a call to TDes8::Collapse(), either the length, or the maximum length, sl@0: or the pointer to the data is not an even number. sl@0: sl@0: @see TDes8 sl@0: */ sl@0: EDes8CollapseOdd=188, sl@0: sl@0: sl@0: /** sl@0: In a call to one of the TSecurityPolicy constructors, the specified sl@0: capability was found to be inavlid. sl@0: sl@0: @see TCapability sl@0: */ sl@0: ECapabilityInvalid=189, sl@0: sl@0: sl@0: /** sl@0: In a call to TSecurityPolicy::CheckPolicy, the security policy was found to sl@0: be corrupt. sl@0: sl@0: @see TSecurityPolicy sl@0: */ sl@0: ESecurityPolicyCorrupt=190, sl@0: sl@0: sl@0: /** sl@0: In a call to TSecurityPolicy::TSecurityPolicy(TSecPolicyType aType), aType sl@0: was not one of ETypePass or ETypeFail. sl@0: sl@0: @see TSecurityPolicy sl@0: */ sl@0: ETSecPolicyTypeInvalid=191, sl@0: sl@0: /** sl@0: This panic is raised when constructing an RPointerArray or RArray if the sl@0: specified minimum growth step is less than or equal to zero or is greater sl@0: than 65535. sl@0: sl@0: @see RPointerArray sl@0: @see RArray sl@0: */ sl@0: EBadArrayMinGrowBy=192, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when constructing an RPointerArray or RArray if the sl@0: specified exponential growth factor is less than or equal to 1 or is sl@0: greater than or equal to 128. sl@0: sl@0: @see RPointerArray sl@0: @see RArray sl@0: */ sl@0: EBadArrayFactor=193, sl@0: sl@0: sl@0: /** sl@0: This panic is raised if code inside an __ASSERT_*_NO_LEAVE harness leaves. sl@0: sl@0: @see RPointerArray sl@0: @see RArray sl@0: */ sl@0: EUnexpectedLeave=194, sl@0: sl@0: sl@0: /** sl@0: A function was used to grow a cell on the heap, but it did not grow as expected. sl@0: */ sl@0: ETHeapCellDidntGrow=195, sl@0: sl@0: sl@0: /** sl@0: An attempt was made to install a Win32 SE handler not on the stack. sl@0: sl@0: @see TWin32SEHTrap sl@0: */ sl@0: EWin32SEHandlerNotOnStack=196, sl@0: sl@0: /** sl@0: This panic is raised when the caller of an API doesn't have the right capabilities to sl@0: call the specific API that raises this panic. Please consult the documentation for the sl@0: API in question to learn what capabilities you need to call it. sl@0: */ sl@0: EPlatformSecurityViolation=197, sl@0: sl@0: /** sl@0: This panic is raised if a NULL function pointer is passed in as the hash function sl@0: when constructing a hash table class. sl@0: */ sl@0: EHashTableNoHashFunc=198, sl@0: sl@0: /** sl@0: This panic is raised if a NULL function pointer is passed in as the identity sl@0: relation when constructing a hash table class. sl@0: */ sl@0: EHashTableNoIdentityRelation=199, sl@0: sl@0: /** sl@0: This panic is raised if a negative element size is specified when constructing sl@0: a hash table class. sl@0: */ sl@0: EHashTableBadElementSize=200, sl@0: sl@0: /** sl@0: This panic is raised if, when constructing a hash table class, the specified sl@0: key offset is inconsistent with the specified element size. sl@0: */ sl@0: EHashTableBadKeyOffset=201, sl@0: sl@0: /** sl@0: This panic is raised in debug builds only if a deleted entry still remains after sl@0: a hash table reform. It should never occur, since it signifies an error in the sl@0: hash table implementation. sl@0: */ sl@0: EHashTableDeletedEntryAfterReform=202, sl@0: sl@0: /** sl@0: This panic should never occur since it signifies an error in the hash table sl@0: implementation. sl@0: */ sl@0: EHashTableBadGeneration=203, sl@0: sl@0: /** sl@0: This panic should never occur since it signifies an error in the hash table sl@0: implementation. sl@0: */ sl@0: EHashTableBadHash=204, sl@0: sl@0: /** sl@0: This panic should never occur since it signifies an error in the hash table sl@0: implementation. sl@0: */ sl@0: EHashTableEntryLost=205, sl@0: sl@0: /** sl@0: This panic should never occur since it signifies an error in the hash table sl@0: implementation. sl@0: */ sl@0: EHashTableCountWrong=206, sl@0: sl@0: /** sl@0: This panic should never occur since it signifies an error in the hash table sl@0: implementation. sl@0: */ sl@0: EHashTableEmptyCountWrong=207, sl@0: sl@0: /** sl@0: This panic is raised if, while attempting to step a hash table iterator to sl@0: the next entry, the iterator is found to point to an invalid table entry. sl@0: This will typically occur if elements have been removed from the hash table sl@0: without resetting the iterator. sl@0: */ sl@0: EHashTableIterNextBadIndex=208, sl@0: sl@0: /** sl@0: This panic is raised if, while interrogating the current position of a sl@0: hash table iterator, the iterator is found to point to an invalid table entry. sl@0: This will typically occur if elements have been added to or removed from sl@0: the hash table without resetting the iterator. sl@0: */ sl@0: EHashTableIterCurrentBadIndex=209, sl@0: sl@0: /** sl@0: This panic is raised if an invalid argument is passed to the Reserve() function sl@0: on any of the hash table classes. sl@0: */ sl@0: EHashTableBadReserveCount=210, sl@0: sl@0: /** sl@0: The Win32 SE handler chain has been corrupted. sl@0: sl@0: @see TWin32SEHTrap sl@0: */ sl@0: EWin32SEHChainCorrupt=211, sl@0: sl@0: sl@0: /** sl@0: This panic is raised if an invalid argument is passed to the Reserve() function sl@0: on the RArray or RPointerArray classes. sl@0: */ sl@0: EArrayBadReserveCount=212, sl@0: sl@0: /** sl@0: This panic is raised when attempting to set a new debug failure mode on sl@0: a heap with an invalid argument. For example, if aBurst > KMaxTUint6 sl@0: when invoking __UHEAP_BURSTFAILNEXT when a RHeap object is used for sl@0: the user heap. sl@0: sl@0: On the user side this is associated with the USER category; on the kernel side sl@0: this is associated with the KERN-HEAP category. sl@0: sl@0: @see RAllocator::TAllocFail sl@0: */ sl@0: ETHeapBadDebugFailParameter = 213, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when an invalid chunk attribute has been passed to sl@0: the method RChunk::Create(). sl@0: sl@0: @see RChunk sl@0: */ sl@0: EChkCreateInvalidAttribute = 214, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a TChunkCreateInfo object with an invalid version sl@0: number has been passed to the method RChunk::Create(). sl@0: sl@0: @see RChunk sl@0: @see TChunkCreateInfo sl@0: */ sl@0: EChkCreateInvalidVersion = 215, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when an invalid flag is set in the aMode parameter sl@0: to UserHeap::ChunkHeap(). sl@0: sl@0: @see TChunkHeapCreateMode sl@0: */ sl@0: EHeapCreateInvalidMode = 216, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a RReadWriteLock is created with an invalid sl@0: priority. sl@0: sl@0: @see RReadWriteLock sl@0: */ sl@0: EReadWriteLockInvalidPriority = 217, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a RReadWriteLock is closed with readers/writers sl@0: still pending. sl@0: sl@0: @see RReadWriteLock sl@0: */ sl@0: EReadWriteLockStillPending = 218, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a RReadWriteLock is requested with too many sl@0: readers or pending readers/writers. sl@0: sl@0: @see RReadWriteLock sl@0: */ sl@0: EReadWriteLockTooManyClients = 219, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when a RReadWriteLock is unlocked but the lock flags sl@0: are inconsistent, eg read and write lock held or no lock held. sl@0: sl@0: @see RReadWriteLock sl@0: */ sl@0: EReadWriteLockBadLockState = 220, sl@0: sl@0: sl@0: /** sl@0: This debug-only panic is raised if the lock has been given to a reader sl@0: more than a thousand times in a row, while there is a pending writer. sl@0: It is intended to give a debug indication that writer starvation might be sl@0: happening. sl@0: sl@0: @see RReadWriteLock sl@0: */ sl@0: EReadWriteLockWriterStarvation = 221, sl@0: sl@0: /** sl@0: It is raised by TRawEvent::Repeats() when sl@0: the event is not a key repeat event. sl@0: sl@0: This panic is raised in debug builds only. sl@0: */ sl@0: ETEventNotKeyRepeatType=222, sl@0: sl@0: /** sl@0: This panic is raised when a corrupt surrogate is found in a descriptor. sl@0: */ sl@0: ECorruptSurrogateFound = 223, sl@0: }; sl@0: sl@0: sl@0: sl@0: sl@0: /** sl@0: Defines a set of panic numbers associated with the E32USER-CBASE panic category. sl@0: sl@0: Panics with this category are raised in user side code by member functions of sl@0: CBase derived classes that reside in euser.dll. Typically, they are caused by sl@0: passing bad or contradictory values to class constructors or member functions. sl@0: */ sl@0: enum TBasePanic sl@0: { sl@0: sl@0: /** sl@0: This panic is raised by the Set() member function of CAsyncCallBack, sl@0: if this active object is already active when the function is called. sl@0: sl@0: @see CAsyncCallBack sl@0: */ sl@0: ECAsyncCBIsActive=1, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Call() member function of CAsyncOneShot, sl@0: if the active object has not already been added to the active scheduler. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: @see CAsyncOneShot sl@0: */ sl@0: ECAsyncOneShotNotAdded=2, sl@0: sl@0: sl@0: /** sl@0: This panic is raised during construction of a dynamic buffer, sl@0: a CBufFlat or a CBufSeg object, when the value of the granularity passed sl@0: to the constructors is negative. sl@0: sl@0: @see CBufFlat sl@0: @see CBufSeg sl@0: */ sl@0: EBufExpandSizeNegative=3, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when reading from a dynamic buffer, sl@0: a CBufFlat or a CBufSeg, using the Read() member function. sl@0: sl@0: It is caused by attempting to read beyond the end of the buffer. sl@0: sl@0: @see CBufFlat sl@0: @see CBufSeg sl@0: */ sl@0: EBufReadBeyondEnd=4, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when writing to a dynamic buffer, sl@0: a CBufFlat or a CBufSeg, using the Write() member function. sl@0: sl@0: It is caused by attempting to write beyond the end of the buffer. sl@0: sl@0: @see CBufFlat sl@0: @see CBufSeg sl@0: */ sl@0: EBufWriteBeyondEnd=5, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when reading from a dynamic buffer, sl@0: a CBufFlat or a CBufSeg, using the Read() member function. sl@0: sl@0: It is caused by specifying a negative length for the amount of data sl@0: to be read. sl@0: sl@0: @see CBufFlat sl@0: @see CBufSeg sl@0: */ sl@0: EBufReadLengthNegative=6, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when writing to a dynamic buffer, sl@0: a CBufFlat or a CBufSeg, using the Write() member function. sl@0: sl@0: It is caused by specifying a negative length for the amount of data sl@0: to be written. sl@0: sl@0: @see CBufFlat sl@0: @see CBufSeg sl@0: */ sl@0: EBufWriteLengthNegative=7, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when inserting data into a dynamic buffer, sl@0: a CBufFlat or a CBufSeg, using the InsertL() member function or when sl@0: inserting an uninitialized region into the dynamic buffer using sl@0: the ExpandL() member function. sl@0: sl@0: It is caused by passing a negative length value to these functions. sl@0: sl@0: @see CBufFlat sl@0: @see CBufSeg sl@0: */ sl@0: EBufInsertLengthNegative=8, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when inserting data into a dynamic buffer, sl@0: a CBufFlat or a CBufSeg, using the InsertL() member function. sl@0: sl@0: It is caused when the variant of InsertL(), which takes a pointer to TAny sl@0: is passed a NULL pointer value. sl@0: sl@0: @see CBufFlat sl@0: @see CBufSeg sl@0: */ sl@0: EBufInsertBadPtr=9, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when specifying the minimum amount of space sl@0: that a flat dynamic buffer, a CBufFlat, should occupy using sl@0: the SetReserveL() member function. sl@0: sl@0: It is caused when the size value passed to the function is negative. sl@0: sl@0: @see CBufFlat sl@0: */ sl@0: EBufFlatReserveNegative=10, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when specifying the minimum amount of space sl@0: that a flat dynamic buffer, a CBufFlat, should occupy using sl@0: the SetReserveL() member function. sl@0: sl@0: It is caused when the size value passed to the function is less than sl@0: the current size of the buffer. sl@0: sl@0: @see CBufFlat sl@0: */ sl@0: EBufFlatReserveSetTooSmall=11, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Delete(), Ptr(), BackPtr() member functions sl@0: of a flat dynamic buffer, a CBufFlat; the panic can also be raised by sl@0: InsertL() and ExpandL(). sl@0: sl@0: It is caused when the position value passed to these functions is either sl@0: negative or represents a position beyond the end of the current buffer. sl@0: sl@0: @see CBufFlat sl@0: */ sl@0: EBufFlatPosOutOfRange=12, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Delete() member function of sl@0: a flat dynamic buffer, a CBufFlat. sl@0: sl@0: It is caused when the combination of position and length values passed sl@0: to the function implies an attempt to delete data beyond the end of sl@0: the flat buffer. sl@0: sl@0: @see CBufFlat sl@0: */ sl@0: EBufFlatDeleteBeyondEnd=13, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Delete(), Ptr(), BackPtr() member functions sl@0: of a segmented dynamic buffer, a CBufSeg); the panic can also be raised sl@0: by InsertL() and ExpandL(). sl@0: sl@0: It is caused when the position value passed to these functions is either sl@0: negative or represents a position beyond the end of the current buffer. sl@0: sl@0: @see CBufSeg sl@0: */ sl@0: EBufSegPosOutOfRange=14, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Delete() member function of a segmented dynamic sl@0: buffer, a CBufSeg. sl@0: sl@0: It is caused when the combination of position and length values passed to sl@0: the function implies an attempt to delete data beyond the end of sl@0: the segmented buffer. sl@0: sl@0: @see CBufSeg sl@0: */ sl@0: EBufSegDeleteBeyondEnd=15, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the InsertL(), Delete(), Ptr() and BackPtr() member sl@0: functions as implemented for segmented buffers, CBufSeg, when sl@0: the offset within a segment, where data is to be inserted or removed, sl@0: is greater than the buffer granularity. sl@0: sl@0: This panic is raised in debug builds only. sl@0: sl@0: @see CBufSeg sl@0: */ sl@0: EBufSegSetSBO=16, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the constructors of arrays of fixed length objects sl@0: as represented, for example, by the classes CArrayFixFlat, CArrayFixSeg, sl@0: and CArrayFixFlat. sl@0: sl@0: It is caused when the record length is either negative or zero. The record sl@0: length is either explicitly specified, as in the case of sl@0: the CArrayFixFlat class, or is implied by the length of the template sl@0: class as in the case of the CArrayFixFlat class. sl@0: sl@0: @see CArrayFixFlat sl@0: @see CArrayFixSeg sl@0: */ sl@0: EArrayFixInvalidLength=17, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the constructors of arrays of fixed length objects sl@0: as represented, for example, by the classes: CArrayFixFlat and CArrayFixSeg. sl@0: sl@0: It is caused when the granularity passed to the constructors is sl@0: either negative or zero. sl@0: sl@0: @see CArrayFixFlat sl@0: @see CArrayFixSeg sl@0: */ sl@0: EArrayFixInvalidGranularity=18, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the constructors of arrays of variable length sl@0: objects as represented, for example, by the classes: CArrayVarFlat sl@0: and CArrayVarSeg. sl@0: sl@0: It is caused when the granularity passed to the constructors is either sl@0: negative or zero. sl@0: sl@0: @see CArrayFixFlat sl@0: @see CArrayFixSeg sl@0: */ sl@0: EArrayVarInvalidGranularity=19, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the constructors of packed arrays as represented, sl@0: for example, by the class CArrayPakFlat. sl@0: sl@0: It is caused when the granularity passed to the constructors is either sl@0: negative or zero. sl@0: sl@0: @see CArrayPakFlat sl@0: */ sl@0: EArrayPakInvalidGranularity=20, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by any operation which accesses an element of an array sl@0: by explicit reference to an index number, for example, the Delete(), sl@0: InsertL() and At() member functions or the operator Operator[]. sl@0: sl@0: It is caused by specifying an index value which is either negative, sl@0: or is greater than or equal to the number of objects currently within the array. sl@0: */ sl@0: EArrayIndexOutOfRange=21, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when deleting contiguous elements from an array of sl@0: fixed length objects (derived from CArrayFixBase) using the Delete() sl@0: member function. sl@0: sl@0: It is caused by specifying the number of contiguous elements as sl@0: a zero or negative value. sl@0: */ sl@0: EArrayCountNegative=22, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when inserting contiguous elements into an array sl@0: of fixed length objects (derived from CArrayFixBase) using the sl@0: InsertL() member function. sl@0: sl@0: It is caused by specifying the number of contiguous elements as sl@0: a zero or negative value. sl@0: */ sl@0: EArrayCountNegative2=23, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when resizing an array of fixed length objects sl@0: (derived from CArrayFixBase) using the ResizeL() member function. sl@0: sl@0: It is caused by specifying the number of contiguous elements as a zero sl@0: or negative value. sl@0: */ sl@0: EArrayCountNegative3=24, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when deleting contiguous elements from an array of sl@0: variable length objects (derived from CArrayVarBase) using the Delete() sl@0: member function. sl@0: sl@0: It is caused by specifying the number of contiguous elements as a zero sl@0: or negative value. sl@0: */ sl@0: EArrayCountNegative4=25, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when deleting contiguous elements from sl@0: a packed array (derived from CArrayPakBase) using the Delete() sl@0: member function. sl@0: sl@0: It is caused by specifying the number of contiguous elements as sl@0: a zero or negative value. sl@0: */ sl@0: EArrayCountNegative5=26, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when reserving space in flat arrays of sl@0: fixed length objects, the CArrayFixFlat,CArrayFixFlat sl@0: and CArrayPtrFlat classes, using the SetReserveL() member function. sl@0: sl@0: It is caused by specifying the number of elements, for which space is to be sl@0: reserved, as less than the current number of elements in the array. sl@0: */ sl@0: EArrayReserveTooSmall=27, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when inserting or appending replicated sl@0: elements to the arrays of fixed length objects CArrayFixFlat and sl@0: CArrayFixSeg using the InsertL() or AppendL() functions. sl@0: sl@0: It is caused by specifying the number of replicas as negative or zero. sl@0: */ sl@0: EArrayReplicasNegative=28, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when deleting elements from a fixed length, variable sl@0: length or packed array (derived from CArrayFixBase, CArrayVarBase sl@0: and CArrayPakBase) using the Delete() function. sl@0: sl@0: It is caused when the specification of the position of the first element sl@0: to be deleted and the number of contiguous elements to be deleted refers sl@0: to elements which are outside the bounds of the array. sl@0: */ sl@0: EArrayCountTooBig=29, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when inserting into, appending onto, expanding or sl@0: extending a variable length array or a packed array (i.e. arrays derived sl@0: from CArrayVar or CArrayPak) using the InsertL(), AppendL(), ExpandL() sl@0: or ExtendL() functions respectively. sl@0: sl@0: It is caused by specifying the length of the element as a negative value. sl@0: */ sl@0: EArrayLengthNegative=30, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: EArrayReaderCountVirtual=31, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: EArrayReaderAtVirtual=32, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the destructor of a CObject. sl@0: sl@0: It is caused when an attempt is made to delete the CObject sl@0: when the reference count is not zero. sl@0: sl@0: @see CObject sl@0: */ sl@0: EObjObjectStillReferenced=33, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Close() member function of a CObject. sl@0: sl@0: It is caused when the reference count is negative. sl@0: */ sl@0: EObjNegativeAccessCount=34, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Remove() member function of an object sl@0: container, a CObjectCon. sl@0: sl@0: It is caused when the CObject to be removed from the container is sl@0: not contained by the container. sl@0: sl@0: @see CObject sl@0: */ sl@0: EObjRemoveObjectNotFound=35, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Remove() member function of a container sl@0: index, a CObjectConIx. sl@0: sl@0: It is caused when the object container, a CObjectCon, to be removed from sl@0: the index is not contained by the index. sl@0: */ sl@0: EObjRemoveContainerNotFound=36, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Remove() member function of an object index, sl@0: a CObjectIx. sl@0: sl@0: It is caused when the handle passed to the Remove() function does not sl@0: represent a CObject known to the object index. sl@0: */ sl@0: EObjRemoveBadHandle=37, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the At(), FindByName() and FindByFullName() member sl@0: functions of an object container, a CObjectCon. sl@0: sl@0: It is caused when the unique ID as derived from the handle is not the same sl@0: as the unique ID held by the object container. sl@0: */ sl@0: EObjFindBadHandle=38, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the At() member function of an object container, sl@0: a CObjectCon. sl@0: sl@0: It is caused when the index represented by the handle is outside sl@0: the permitted range. In effect, the handle is bad. sl@0: */ sl@0: EObjFindIndexOutOfRange=39, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the destructor of an active object, a CActive. sl@0: sl@0: It is caused by an attempt to delete the active object while it still sl@0: has a request outstanding. sl@0: */ sl@0: EReqStillActiveOnDestruct=40, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Add() member function of an active scheduler, sl@0: a CActiveScheduler. sl@0: sl@0: It is caused by an attempt to add an active object to the active scheduler sl@0: when it has already been added to the active scheduler sl@0: */ sl@0: EReqAlreadyAdded=41, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the SetActive() member function of an active sl@0: object, a CActive. sl@0: sl@0: It is caused by an attempt to flag the active object sl@0: as active when it is already active, i.e. a request is still outstanding. sl@0: */ sl@0: EReqAlreadyActive=42, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Install() member function of an active sl@0: scheduler, a CActiveScheduler. sl@0: sl@0: It is caused by attempting to install this active scheduler as the current sl@0: active scheduler when there is already a current active scheduler; sl@0: i.e. an active scheduler has already been installed. sl@0: */ sl@0: EReqManagerAlreadyExists=43, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Start(), Stop() and Add() member functions sl@0: of an active scheduler, a CActiveScheduler. sl@0: sl@0: It is caused by attempting to start or stop an active scheduler or by sl@0: attempting to add an active object, a CActive, to the active scheduler. sl@0: */ sl@0: EReqManagerDoesNotExist=44, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Stop() member function of an active scheduler, sl@0: a CActiveScheduler. sl@0: sl@0: Calling Stop() terminates the wait loop started by the most recent sl@0: call to Start(). The panic is caused by a call to Stop() which is not sl@0: matched by a corresponding call to Start(). sl@0: */ sl@0: EReqTooManyStops=45, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by an active scheduler, a CActiveScheduler. sl@0: sl@0: It is caused by a stray signal. sl@0: */ sl@0: EReqStrayEvent=46, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Error() virtual member function of an active sl@0: scheduler, a CActiveScheduler. sl@0: sl@0: This function is called when an active object’s RunL() function leaves. sl@0: Applications always replace the Error() function in a class derived from sl@0: CActiveScheduler; the default behaviour provided by CActiveScheduler raises sl@0: this panic. sl@0: */ sl@0: EReqActiveObjectLeave=47, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Add() member function of an active scheduler, sl@0: a CActiveScheduler, when a NULL pointer is passed to the function. sl@0: */ sl@0: EReqNull=48, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the SetActive() and Deque() member functions of sl@0: an active object, a CActive. sl@0: sl@0: It is raised if the active object has not been added to the active scheduler. sl@0: */ sl@0: EActiveNotAdded=49, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the SetPriority() member function of an active sl@0: object, a CActive. sl@0: sl@0: It is caused by an attempt to change the priority of the active object sl@0: while it is active, i.e. while a request is outstanding). sl@0: */ sl@0: ESetPriorityActive=50, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the At(), After() and Lock() member functions of sl@0: the CTimer active object. sl@0: sl@0: It is caused by an attempt to request a timer event when the CTimer active sl@0: object has not been added to the active scheduler. sl@0: */ sl@0: ETimNotAdded=51, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Start() member function of the periodic timer sl@0: active object, a CPeriodic, when a negative time interval is passed to sl@0: the function. sl@0: */ sl@0: ETimIntervalNegativeOrZero=52, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Start() member function of the periodic sl@0: timer active object, a CPeriodic, when a negative delay time interval sl@0: is passed to the function. sl@0: */ sl@0: ETimDelayNegative=53, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: EUnusedBasePanic1=54, // Unused sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ESvrNoServerName=55, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the New() and NewL() member functions of sl@0: CBitMapAllocator when a negative or zero size is passed to them. sl@0: */ sl@0: EBmaSizeLessOrEqualToZero=56, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Free(TInt aPos) member function of sl@0: CBitMapAllocator when a position value is passed which is out of bounds. sl@0: */ sl@0: EBmaFreeOutOfRange=57, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the IsFree(TInt aPos) member function of sl@0: CBitMapAllocator when a position value is passed which is out of bounds. sl@0: */ sl@0: EBmaAllocOutOfRange=58, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the AllocFromTopFrom(TInt aPos) member function sl@0: of CBitMapAllocator when a position value is passed which is out of bounds. sl@0: */ sl@0: EBmaAllocFromTopFromOutOfRange=59, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: EBmaFreeTooMany=60, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: EBmaFreeNotAllocated=61, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the AllocAt() member function of CBitMapAllocator sl@0: when the implied position has already been allocated. sl@0: */ sl@0: EBmaAllocAtAlreadyAllocated=62, sl@0: sl@0: sl@0: /** sl@0: This panic is raised as a result of a call to the Pop() and PopAndDestroy() sl@0: static member functions of the CleanupStack class. sl@0: sl@0: The panic occurs when TRAPs have been nested and an attempt is made to pop too sl@0: many items from the cleanup stack for the current nest level. sl@0: */ sl@0: EClnPopAcrossLevels=63, sl@0: sl@0: sl@0: /** sl@0: This panic is raised as a result of a call to the Pop() and PopAndDestroy() sl@0: static member functions of the CleanupStack class. sl@0: sl@0: The panic occurs when attempt is made to pop more items from the cleanup sl@0: stack than are on the cleanup stack. sl@0: */ sl@0: EClnPopUnderflow=64, sl@0: sl@0: sl@0: /** sl@0: The panic is raised as a result of a call to the Pop() and PopAndDestroy() sl@0: static member functions of the CleanupStack class. sl@0: sl@0: The panic occurs when an attempt is made to pop more items from the cleanup sl@0: stack than are on the cleanup stack. sl@0: */ sl@0: EClnLevelUnderflow=65, sl@0: sl@0: sl@0: /** sl@0: This panic is raised if an attempt is being made to insert a cleanup item sl@0: into a position on the cleanup stack reserved for marking the current TRAP sl@0: nest level. sl@0: sl@0: In practice this error occurs if the call to CleanupStack::PushL() happens sl@0: when there has been no call to TRAP(). sl@0: */ sl@0: EClnPushAtLevelZero=66, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when building a TCleanupStackItem which is to be added sl@0: to the cleanup stack. sl@0: sl@0: The building of the TCleanupStackItem needs a TCleanupItem and this has sl@0: been constructed with a NULL cleanup operation (a TCleanupOperation). sl@0: */ sl@0: EClnNoCleanupOperation=67, sl@0: sl@0: sl@0: /** sl@0: This panic is raised if there are no free slots available on the cleanup sl@0: stack to insert a cleanup item. sl@0: */ sl@0: EClnNoFreeSlotItem=68, sl@0: sl@0: sl@0: /** sl@0: This panic is raised if no trap handler has been installed. sl@0: sl@0: In practice, this occurs if CTrapCleanup::New() has not been called sl@0: before using the cleanup stack. sl@0: */ sl@0: EClnNoTrapHandlerInstalled=69, sl@0: sl@0: sl@0: /** sl@0: This panic is raised as a result of a call to the versions of the sl@0: Pop() and PopAndDestroy() static member functions of the CleanupStack class sl@0: which take an explicit count of the items to be popped. sl@0: sl@0: The panic is caused by passing a negative value for the number of items sl@0: to be popped. sl@0: */ sl@0: EClnPopCountNegative=70, sl@0: sl@0: sl@0: /** sl@0: This panic is raised when TRAPs have been nested and an attempt is made to sl@0: exit from a TRAP nest level before all the cleanup items belonging to that sl@0: level have been popped off the cleanup stack. sl@0: */ sl@0: EClnLevelNotEmpty=71, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the constructor of the circular buffer base class, sl@0: a CCirBufBase, when the size value passed is zero or negative. sl@0: */ sl@0: ECircItemSizeNegativeOrZero=72, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by a call to the SetLengthL() member function of sl@0: the circular buffer base class, a CCirBufBase, by passing a length sl@0: value which is zero or negative. sl@0: */ sl@0: ECircSetLengthNegativeOrZero=73, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by a call to the Add() member function of a sl@0: circular buffer, a CCirBuf when the pointer to the item sl@0: to be added is NULL. sl@0: */ sl@0: ECircNoBufferAllocated=74, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by a call to the Add() member function of a sl@0: circular buffer, a CCirBuf when the number of items to be added sl@0: is zero or negative. sl@0: */ sl@0: ECircAddCountNegative=75, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by a call to the Remove() member function of sl@0: a circular buffer, a CCirBuf when the number of items to be removed is zero sl@0: or negative. sl@0: */ sl@0: ECircRemoveCountNegative=76, sl@0: sl@0: sl@0: /** sl@0: This panic is raise by CConsoleBase::Getch() when the asynchronous request sl@0: that fetches the character completes with a completion code that sl@0: is not KErrNone. sl@0: */ sl@0: EConsGetchFailed=77, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ESecurityData=78, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Alloc() member function sl@0: of CBitMapAllocator if the object is in an inconsistnt state. sl@0: */ sl@0: EBmaInconsistentState=79, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the AllocFrom() member function sl@0: of CBitMapAllocator if the position passed into it is outside its valid sl@0: range, i.e. is negative or is greater than or equal to the size. sl@0: */ sl@0: EBmaAllocFromOutOfRange=80, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Alloc() member function sl@0: of CBitMapAllocator if the count value passed into it sl@0: is not positive. sl@0: */ sl@0: EBmaAllocCountNegative=81, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the AllocAligned() member function sl@0: of CBitMapAllocator if the alignment value passed into it sl@0: is negative or greater than or equal to 32. sl@0: */ sl@0: EBmaAllAlgnOutOfRange=82, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the AllocAlignedBlock() member function sl@0: of CBitMapAllocator if the alignment value passed into it sl@0: is negative or greater than or equal to 32. sl@0: */ sl@0: EBmaAllAlgnBOutOfRange=83, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the AllocAt() member function sl@0: of CBitMapAllocator if the position value passed into it sl@0: is outside the permitted range. sl@0: */ sl@0: EBmaAllocBlkOutOfRange=84, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the IsFree() member function sl@0: of CBitMapAllocator if the position value passed into it sl@0: is outside the permitted range. sl@0: */ sl@0: EBmaChkBlkOutOfRange=85, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Free() member function sl@0: of CBitMapAllocator if the position value passed into it sl@0: is outside the permitted range. sl@0: */ sl@0: EBmaFreeBlkOutOfRange=86, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Free() member function sl@0: of CBitMapAllocator if attempting to free a block that is not allocated. sl@0: */ sl@0: EBmaFreeBlkNotAllocated=87, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the Free() member function sl@0: of CBitMapAllocator if attempting to allocate a block that is not free. sl@0: */ sl@0: EBmaAllocBlkNotFree=88, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by call to the Replace() member function of sl@0: CActiveScheduler when the replacement active scheduler is the same as sl@0: the existing active scheduler. sl@0: */ sl@0: EActiveSchedulerReplacingSelf=89, sl@0: sl@0: sl@0: /** sl@0: The panic is raised as a result of a call to the Pop() and PopAndDestroy() sl@0: static member functions of the CleanupStack class. sl@0: sl@0: The panic occurs when an the item to be popped is not the expected item. sl@0: */ sl@0: EClnCheckFailed=90, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by CActiveSchedulerWait::Start() sl@0: when the CActiveSchedulerWait has already been started. sl@0: sl@0: @see CActiveSchedulerWait sl@0: */ sl@0: EActiveSchedulerWaitAlreadyStarted=91, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by CActiveSchedulerWait::AsyncStop() and sl@0: CActiveSchedulerWait::CanStopNow() sl@0: when the CActiveSchedulerWait has not been started. sl@0: */ sl@0: EActiveSchedulerWaitNotStarted=92, sl@0: sl@0: sl@0: /** sl@0: This panic is raised during construction of a CAsyncOneShot if the attempt sl@0: to open a handle to the current thread fails. sl@0: */ sl@0: EAsyncOneShotSetupFailed=93, sl@0: sl@0: sl@0: /** sl@0: Not used. sl@0: */ sl@0: ESvrBadSecurityPolicy=94, sl@0: sl@0: sl@0: /** sl@0: This panic is raised if CPolicyServer::CustomSecurityCheckL(), sl@0: or CPolicyServer::CustomFailureActionL() are called. sl@0: sl@0: Odds are that you forgot to implement one of these two functions in your sl@0: CPolicyServer derived Server. sl@0: */ sl@0: EPolSvrCallingBaseImplementation=95, sl@0: sl@0: sl@0: /** sl@0: This panic is raised in debug builds by the CPolicyServer constructor if sl@0: TPolicy::iRanges[0] does not have a value of 0. sl@0: */ sl@0: EPolSvr1stRangeNotZero=96, sl@0: sl@0: sl@0: /** sl@0: This panic is raised in debug builds by the CPolicyServer constructor if sl@0: each element of TPolicy::iRanges is not greater than the previous. sl@0: */ sl@0: EPolSvrRangesNotIncreasing=97, sl@0: sl@0: sl@0: /** sl@0: This panic is raised in debug builds by the CPolicyServer constructor sl@0: unless every element in TPolicy::iElementsIndex is valid. Every element, sl@0: x, must not be one of (ESpecialCaseHardLimit <= x <= ESpecialCaseLimit) in sl@0: order to be valid. See CPolicyServer::TSpecialCase for more information. sl@0: */ sl@0: EPolSvrElementsIndexValueInvalid=98, sl@0: sl@0: sl@0: /** sl@0: This panic is raised in debug builds by the CPolicyServer constructor if sl@0: TPolicy::iOnConnect has an invalid value. iOnConnect must not be one of sl@0: (ESpecialCaseHardLimit <= x <= ESpecialCaseLimit) in order to be valid. sl@0: See CPolicyServer::TSpecialCase for more information. sl@0: */ sl@0: EPolSvrIOnConnectValueInvalid=99, sl@0: sl@0: sl@0: /** sl@0: This panic is raised if CPolicyServer::iPolicy is found to be invalid for sl@0: an unkown reason. There is a good chance that your policy would cause the sl@0: server to panic with one of the above specific policy panic codes if you sl@0: run it in debug mode. See the policy server documentation for a sl@0: description of a valid policy. sl@0: */ sl@0: EPolSvrPolicyInvalid=100, sl@0: sl@0: sl@0: /** sl@0: The value returned from CustomSecurityCheckL or CustomFailureActionL was sl@0: invalid. See CPolicyServer::TCustomResult for a list of valid results. sl@0: */ sl@0: EPolSvrInvalidCustomResult=101, sl@0: sl@0: sl@0: /** sl@0: This panic is raised in debug builds by the CPolicyServer constructor if sl@0: TPolicy.iRangeCount is not greater than 0. All policies given to the sl@0: policy server must contain at least 1 policy. sl@0: */ sl@0: EPolSvrIRangeCountInvalid=102, sl@0: sl@0: sl@0: /** sl@0: This panic is raised by the policy server framework if a message fails a sl@0: policy check (custom or not) and the associated action is EPanicClient. sl@0: */ sl@0: EPolSvrActionPanicClient=103, sl@0: sl@0: /** sl@0: This panic is raised by CObjectIx class methods if inconsistent data condition occurs sl@0: It can appear in debug build only. sl@0: */ sl@0: EObjInconsistent=104, sl@0: sl@0: /** sl@0: This panic is raised as a result of a call to the Pop() and PopAndDestroy() sl@0: static member functions of the CleanupStack class. sl@0: sl@0: The panic occurs when the cleanup operation of a popped item modifies the sl@0: cleanup stack. In such a case, the function cannot guarantee that the correct sl@0: items will be popped. sl@0: */ sl@0: EClnStackModified=105, sl@0: sl@0: /** sl@0: This panic is raised as a result of a call to CServer2::SetPinClientDescriptors() after sl@0: CServer2::Start() has been invoked on a CServer2 object. sl@0: */ sl@0: ECServer2InvalidSetPin = 106, sl@0: }; sl@0: sl@0: #endif