epoc32/include/e32panic.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    13 // Description:
    13 // Description:
    14 // e32\include\e32panic.h
    14 // e32\include\e32panic.h
    15 // 
    15 // 
    16 //
    16 //
    17 
    17 
    18 
       
    19 
       
    20 /**
    18 /**
    21  @file e32panic.h
    19  @file e32panic.h
    22  @publishedAll
    20  @publishedAll
    23  @released
    21  @released
    24 */
    22 */
   342 	ETEventNotMoveType=32,
   340 	ETEventNotMoveType=32,
   343 	
   341 	
   344 	
   342 	
   345 	/**
   343 	/**
   346     It is raised by TRawEvent::ScanCode() when
   344     It is raised by TRawEvent::ScanCode() when
   347     the event is not a key down or key up event.
   345     the event is not a key down, up or repeat event.
   348     
   346     
   349    	This panic is raised in debug builds only.
   347    	This panic is raised in debug builds only.
   350 	*/
   348 	*/
   351 	ETEventNotKeyType=33,
   349 	ETEventNotKeyType=33,
   352 	
   350 	
  1985 
  1983 
  1986 	@see RChunk
  1984 	@see RChunk
  1987 	@see TChunkCreateInfo
  1985 	@see TChunkCreateInfo
  1988 	*/
  1986 	*/
  1989 	EChkCreateInvalidVersion = 215,
  1987 	EChkCreateInvalidVersion = 215,
       
  1988 
       
  1989 	
       
  1990 	/**
       
  1991 	This panic is raised when an invalid flag is set in the aMode parameter
       
  1992 	to UserHeap::ChunkHeap().
       
  1993 
       
  1994 	@see TChunkHeapCreateMode
       
  1995 	*/
       
  1996 	EHeapCreateInvalidMode = 216,
       
  1997 
       
  1998 
       
  1999 	/**
       
  2000 	This panic is raised when a RReadWriteLock is created with an invalid
       
  2001 	priority.
       
  2002 
       
  2003 	@see RReadWriteLock
       
  2004 	*/
       
  2005 	EReadWriteLockInvalidPriority = 217,
       
  2006 
       
  2007 
       
  2008 	/**
       
  2009 	This panic is raised when a RReadWriteLock is closed with readers/writers
       
  2010 	still pending.
       
  2011 
       
  2012 	@see RReadWriteLock
       
  2013 	*/
       
  2014 	EReadWriteLockStillPending = 218,
       
  2015 
       
  2016 
       
  2017 	/**
       
  2018 	This panic is raised when a RReadWriteLock is requested with too many
       
  2019 	readers or pending readers/writers.
       
  2020 
       
  2021 	@see RReadWriteLock
       
  2022 	*/
       
  2023 	EReadWriteLockTooManyClients = 219,
       
  2024 
       
  2025 
       
  2026 	/**
       
  2027 	This panic is raised when a RReadWriteLock is unlocked but the lock flags
       
  2028 	are inconsistent, eg read and write lock held or no lock held.
       
  2029 
       
  2030 	@see RReadWriteLock
       
  2031 	*/
       
  2032 	EReadWriteLockBadLockState = 220,
       
  2033 
       
  2034 
       
  2035 	/**
       
  2036 	This debug-only panic is raised if the lock has been given to a reader
       
  2037 	more than a thousand times in a row, while there is a pending writer.
       
  2038 	It is intended to give a debug indication that writer starvation might be
       
  2039 	happening.
       
  2040 
       
  2041 	@see RReadWriteLock
       
  2042 	*/
       
  2043 	EReadWriteLockWriterStarvation = 221,
       
  2044 
       
  2045 	/**
       
  2046     It is raised by TRawEvent::Repeats() when
       
  2047     the event is not a key repeat event.
       
  2048     
       
  2049    	This panic is raised in debug builds only.
       
  2050 	*/
       
  2051 	ETEventNotKeyRepeatType=222,
       
  2052 
       
  2053 	/**
       
  2054 	This panic is raised when a corrupt surrogate is found in a descriptor.
       
  2055 	*/
       
  2056 	ECorruptSurrogateFound = 223,
  1990 	};
  2057 	};
  1991 
  2058 
  1992 
  2059 
  1993 
  2060 
  1994 
  2061 
  2978 	/**
  3045 	/**
  2979 	This panic is raised by CObjectIx class methods if inconsistent data condition occurs
  3046 	This panic is raised by CObjectIx class methods if inconsistent data condition occurs
  2980 	It can appear in debug build only.
  3047 	It can appear in debug build only.
  2981 	*/
  3048 	*/
  2982 	EObjInconsistent=104,
  3049 	EObjInconsistent=104,
  2983 
  3050 	
       
  3051 	/**
       
  3052 	This panic is raised as a result of a call to the Pop() and PopAndDestroy()
       
  3053 	static member functions of the CleanupStack class.
       
  3054 	
       
  3055 	The panic occurs when the cleanup operation of a popped item modifies the 
       
  3056 	cleanup stack. In such a case, the function cannot guarantee that the correct 
       
  3057 	items will be popped.
       
  3058 	*/
       
  3059 	EClnStackModified=105,
       
  3060 
       
  3061 	/**
       
  3062 	This panic is raised as a result of a call to CServer2::SetPinClientDescriptors() after
       
  3063 	CServer2::Start() has been invoked on a CServer2 object.
       
  3064 	*/
       
  3065 	ECServer2InvalidSetPin = 106,
  2984     };
  3066     };
  2985 
  3067 
  2986 #endif
  3068 #endif