messagingfw/msgsrvnstore/server/inc/MSVPANIC.H
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 #if !defined(__MSVPANIC_H__)
       
    18 #define __MSVPANIC_H__
       
    19 
       
    20 // reasons for server panic
       
    21 /**
       
    22 @internalComponent
       
    23 @released
       
    24 */
       
    25 enum TMsvServerPanic
       
    26 	{
       
    27 	EMainSchedulerError1=0,
       
    28 	EMainSchedulerError2=1,
       
    29 	ESvrCreateServer1=2,
       
    30 	ESvrCreateServer2=3,
       
    31 	ESvrCreateServer3=4,
       
    32 	ESvrStartServer=5,
       
    33 	ECreateTrapCleanup=6,
       
    34 	ENotImplementedYet=7,
       
    35 	EMsvChangeBufferEmpty=8,
       
    36 	EMsvFileStoreNotPermanent=9,
       
    37 	EMsvReleasingEntryNotLocked=10, //10
       
    38 	EMsvEntryParentDoesNotExist1=11,
       
    39 	EMsvEntryParentDoesNotExist2=12,
       
    40 	EMsvEntryParentDoesNotExist3=13,
       
    41 	EMsvEntryParentDoesNotExist4=14,
       
    42 	EMsvEntryParentDoesNotExist5=15,
       
    43 	EMsvEntryParentDoesNotExist6=16,
       
    44 	EMsvEntryParentDoesNotExist7=17,
       
    45 	EMsvEntryParentDoesNotExist8=18,
       
    46 	EMsvEntryNotInParentsChildList1=19,
       
    47 	EMsvEntryNotInParentsChildList2=20, //20
       
    48 	EMsvEntryStreamIdNotInIndex=21,
       
    49 	EMsvFileContainsOrphanEntry=22,
       
    50 	EMsvEntryNotInMainList1=23,
       
    51 	EMsvEntryNotInMainList2=24,
       
    52 	EMsvNoEntryStreamsInFile=25,
       
    53 	EMsvCleanupStreamNotInIndex=26,
       
    54 	EMsvSelectionNotNull=27,
       
    55 	EMsvSelectionNotInList=28,
       
    56 	EMsvStringNotInStringList1=29,
       
    57 	EMsvStringNotInStringList2=30, //30
       
    58 	EMsvNoStringsLoaded=31,
       
    59 	EMsvCannotRollBackDeletion1=32,
       
    60 	EMsvCannotRollBackChanges1=33,
       
    61 	EMsvStringBufferNotNull=34,
       
    62 	EMsvDeletingCurrentContext=35,
       
    63 	EMsvNotChangingCurrentContext=36,
       
    64 	EMsvAlreadyLocked=37,
       
    65 	EMsvNotLocked=38,
       
    66 	EMsvReleasingStoreNotLocked=39, 
       
    67 	EMsvOutstandingOperation=40,//40
       
    68 	EMsvIsLocalRecursedToRoot=41,
       
    69 	EMsvMovingNewParentNotExist=42,
       
    70 	EMsvMovingEntryNotExist=43,
       
    71 	EMsvMovingEntryParentDifferent=44,
       
    72 	EMsvMovingEmptySelection=45,
       
    73 	EMsvMovingUnlockedEntry=46,
       
    74 	EMsvMovingWithinSameEntry=47,
       
    75 	EMsvMovingLocalEntryIsRemote1=48, 
       
    76 	EMsvMovingLocalEntryIsRemote2=49,
       
    77 	EMsvDeletionEntryNotFound=50,//50
       
    78 	EMsvDeletingUnlockedEntry=51,
       
    79 	EMsvDeletionEntryHasChildren=52,
       
    80 	EMsvEntryNotAnAttachment=53,
       
    81 	EMsvRecursiveDeleteFailedNoError=54,
       
    82 	EMsvDeletingLocalEntryIsRemote=55,
       
    83 	EMsvDeletingAllLocalEntryIsRemote=56,
       
    84 	EMsvMtmDeleteAllSelectionNotEmpty=57, 
       
    85 	EMsvStoreInUseNotLocked=58,
       
    86 	EMsvUpdatingFileFlagAlreadyTrue=59,	
       
    87 	EMsvCopyingRemoteToRemote=60,//60
       
    88 	EMsvUnknownMtmOpType=61,
       
    89 	EMsvSelectionNotEmpty=62,
       
    90 	EMsvDescendentArgumentsEqual=63,
       
    91 	EMsvDescendentArgumentsRoot=64,
       
    92 	EMsvMovingLocalEntryIsRemote=65,
       
    93 	EMsvBadEntryContents=66,
       
    94 	EMsvBufferExceeded=67,
       
    95 	EMsvOperationQueueNotFound1=68,
       
    96 	EMsvOperationQueueNotFound2=69,
       
    97 	EMsvOperationQueueNotFound3=70,//70
       
    98 	EMsvWrongOperationCompletion=71,
       
    99 	EMsvSomeMtmQueueActive=72,
       
   100 	EMsvOperationNotCompleted=73,
       
   101 	EMsvEntryDataNotFound=74,
       
   102 	EMsvProgressOnQueuedOp=75,
       
   103 	EMsvCompletedNonRunningOp=76,
       
   104 	EMsvCancellingNonRunningOp=77,
       
   105 	EMsvOperationNotFound=78,
       
   106 	EMsvDeletingMtmOperation1=79,
       
   107 	EMsvDeletingMtmOperation2=80,//80
       
   108 	EMsvDeletingMtmOperation3=81,
       
   109 	EMsvChildrenDetailsNotEmpty1=82,
       
   110 	EMsvChildrenDetailsNotEmpty2=83,
       
   111 //	EMsvChildrenSelectionNotNull1=84, // Unused
       
   112 	EMsvChildrenSelectionNotNull2=85,
       
   113 	EMsvChildrenSelectionNull=86,
       
   114 	EMsvOperationMtm1=87,
       
   115 	EMsvOperationMtm2=88,
       
   116 	EMsvOperationMtm3=89,
       
   117 	EMsvDeletingReadOnlyEntry=90,//90
       
   118 	EMsvChangingReadOnlyEntry=91,
       
   119 	EMsvChangingReadOnlyContext=92,
       
   120 	EMsvEditingStoreOfReadOnlyContext=93,
       
   121 	EMsvStoreAlreadyOpen1=94,
       
   122 	EMsvStoreAlreadyOpen2=95,
       
   123 	EMsvStoreLeftOpenOnDestruction=96,
       
   124 	EMsvUnknownStoreEvent2=97,
       
   125 	EMsvUnknownStoreId=98,
       
   126 	EMsvEntryStoreLeftOpen=99,
       
   127 	EMsvChildAddedInSiblingList1=100,//100
       
   128 	EMsvChildAddedInSiblingList2=101,
       
   129 	EMsvEntryWithNoContext=102, // from MSVR 030 replaced by 146-156
       
   130 	EMsvIncorrectStoreVersionNumber=103,
       
   131 	EMsvIncorrectChangingTempData=104,
       
   132 	EMsvChangingEntryToNewParent=105,
       
   133 	EMsvChangingUnlockedEntry=106,
       
   134 	EMsvDeletingSyncdEntry=107,
       
   135 	EMsvMissingStore=108,
       
   136 	EMsvChangingDeletedEntry=109,
       
   137 	EMsvNewEntryHasStoreSet=110, //110
       
   138 	EMsvBadMtmDatFile=111,
       
   139 	EMsvCloseTimerNotAddeed=112,
       
   140 	EMsvBadMessageDriveStreamVersion=113,
       
   141 	EMsvIncorrectVariantIndexFile=114,
       
   142 	EMsvrIndexPathNotEmpty=115,
       
   143 	EMsvrMovingEntriesWithDifferentParents=116,
       
   144 	EMsvrUnableToRemovePathDir=117,
       
   145 	EMsvMtmMovingUnlockedStore=118,
       
   146 	EMsvMtmMovingUnlockedEntry=119,
       
   147 	EMsvMtmMovingToSameParent=120,//120
       
   148 	EMsvCannotHaveRootBinaryFiles=121,
       
   149 	EMsvIncorrectStateInFindNextStep=122,
       
   150 	EMsvServiceFolderAlreadyExists=123,
       
   151 	EMsvChangedEntryNotFound=124,
       
   152 	EMsvMovingOperationInvariant=125,
       
   153 	EMsvHiddenStreamEntryNotFound=126,
       
   154 	EMsvCreatingServiceWithoutStoreFlag=127,
       
   155 	EMsvCreatingLocalEntryWithoutStoreFlag=128,
       
   156 	EMsvCreatingEntryWithIncorrectParent=129,
       
   157 	EMsvHiddenStreamEntryNotLocal=130,//130
       
   158 	EMsvHiddenStreamEntryNotFound2=131,
       
   159 	EMsvHiddenOwnerNotFound=132,
       
   160 	EMsvHiddenOwnerNotFound2=133,
       
   161 	EMsvChangingString1WithAccessOverride=134,
       
   162 	EMsvChangingString2WithAccessOverride=135,
       
   163 	EMsvRebuildingServerWithNoServices=136,
       
   164 	EMsvRebuildingServerWithNoLocalFolders=137,
       
   165 	EMsvUsingRebuildingIndex=138,
       
   166 	EMsvBadIndexState=139,
       
   167 	EMsvLocalDeletionMisCount=140,//140
       
   168 	EMsvCopyingOperationInvariant=141,
       
   169 	EMsvActiveCopyEntryReset=142,
       
   170 	EMsvCopyErrorButNoIds=143,
       
   171 	EMsvCopyEntryFailureBadState=144,
       
   172 	EMsvRemovingOrphanedEntries=145,
       
   173 	EMsvEntryWithNoContext1=146,
       
   174 	EMsvEntryWithNoContext2=147,
       
   175 	EMsvEntryWithNoContext3=148,
       
   176 	EMsvEntryWithNoContext4=149,
       
   177 	EMsvEntryWithNoContext5=150,//150
       
   178 	EMsvEntryWithNoContext6=151,
       
   179 	EMsvEntryWithNoContext7=152,
       
   180 	EMsvEntryWithNoContext8=153,
       
   181 	EMsvEntryWithNoContext9=154,
       
   182 	EMsvEntryWithNoContext10=155,
       
   183 	EMsvEntryWithNoContext11=156,
       
   184 	EMsvCancelledNonQueueOp=157,
       
   185 	EMtsrRegisteredMtmDllNotPresent=158,
       
   186 	EMtsrRegistryControlStillInUse=159,
       
   187 	EMtsrInstalledMtmGroupStillInUse=160,//160
       
   188 	EMtsrInstalledMtmGroupNotPresent=161,
       
   189 	EMsvChangeAttEmtryNotFound=162,
       
   190 	EMsvDeleteSelectionentryMissing=163,
       
   191 	EMsvDeleteSelectionCorrupt=164,
       
   192 	EMsvEntryDeletingService=165,
       
   193 	EMsvMissingServiceInDeletion=166,
       
   194 	EMsvMissingEntryInDeletion=167,
       
   195 	EMsvDeleteBadState=168,
       
   196 	EMsvChangeEntryBadState=169,
       
   197 	EMsvMissingEntryInDeletion2=170,//170
       
   198 	EMsvDeletionChangedEntryNotFound=171,
       
   199 	EMsvMissingEntryInDeletion3=172,
       
   200 	EMsvDeletionNoParent=173,
       
   201 	EMsvDeleteBadState2=174,
       
   202 	EMsvMovingentryAccrossServices=175,
       
   203 	EMsvSetentryWhileMoving=176,
       
   204 	EMsvMoveNotCompleted=177,
       
   205 	EMsvCopyMoveCompletionMissing=178,
       
   206 	EMsvMovingToSamePArent=179,
       
   207 	EMsvCopyMoveCancelMissing=180,//180
       
   208 	EMsvSetMovingInDtor=181,
       
   209 
       
   210 	EMsvBufferNotEmpty=182,	// From here these used to be MENT panics
       
   211 	EMsvHeapBufferNotNull=183,
       
   212 	EMsvPointerOverrunBuffer=184,
       
   213 	EMsvFailUnpackWithResizedBuffer=185,
       
   214 	EMsvStoreBodyWhenUnlocked=186,
       
   215 	EMsvCommittingWhenUnlocked=187,
       
   216 	EMsvRemovingWhenUnlocked=188,
       
   217 	EMsvRevertingWhenUnlocked=189,
       
   218 	EMsvOperationUnpackSelectionNotEmpty=190,//190
       
   219 	EMsvChangedUnpackSelectionNotEmpty=191,
       
   220 	EMsvChangeSelectionTooLarge=192,
       
   221 	EMsvUnknownChangeType=193,
       
   222 	EMsvHumanReadableNameTooLong=194,
       
   223 	EMsvRegisteredMtmDllStillInUse=195,
       
   224 	EMsvRegisteredMtmDllRefCountZero=196,
       
   225 	EMsvRegisteredMtmDllRefCountNonZero=197,
       
   226 	EMsvRegisteredMtmDllIndexOutRange=198,
       
   227 	EMsvRegisteredMtmDllNotFound=199,
       
   228 	EMsvRegisteredMtmDllHasSameMtmTypeUid=200,//200
       
   229 	EMsvRegisteredMtmDllArrayNotEmpty=201,
       
   230 	EMsvUnknownMessageType=202,
       
   231 	EMsvUnknownPriority=203,
       
   232 	EMsvEntryOverrunBuffer=204,
       
   233 	EMsvStoreHasBeenDeleted=205,
       
   234 	EMsvDeletingWhenUnlocked=206,
       
   235 	EMsvUnknownSortType1=207,
       
   236 	EMsvUnknownSortType2=208,
       
   237 	EMsvMtmDllInfoSecondUidIncorrect=209,
       
   238 	EMsvUnknownMtm=210,//210
       
   239 	EMsvMtmListNotDefined=211,
       
   240 	EMsvToManyGroups=212,
       
   241 	EMsvPathAsForNonService=213,
       
   242 	EMsvAskingForRootFolderOrPath=214,
       
   243 	EMsvAskingForRootFolder=215,
       
   244 	EMsvCompactorIncorrectStart=216,
       
   245 	EMsvCompactionProgressBeforeStart=217,
       
   246 	EMsvCMsgActiveAlreadyActive=218,
       
   247 
       
   248 	EMsvBufferNotEmpty2=219, // From now on these used to be MCLD panics
       
   249 	EMsvHeapBufferNotNull2=220,//220
       
   250 	EMsvPointerOverrunBuffer2=221,
       
   251 	EMsvFailUnpackWithResizedBuffer2=222,
       
   252 	EMsvChangingEntryNotContext=223,
       
   253 	EMsvDeletingEntryNotChild=224,
       
   254 	EMsvUnknownChangeType2=225,
       
   255 	EMsvEntryNotAnAttachment2=226,
       
   256 	EMsvSessionUnknownObserver=227,
       
   257 	EMsvEntryUnknownObserver=228,
       
   258 	EMsvOperationNotLocalIs=229,
       
   259 	EMsvOperationDifferentMtms=230,//230
       
   260 	EMsvChangingEntryType=231,
       
   261 	EMsvEntryHasNullType=232,
       
   262 	EMsvEntryHasNullMtm=233,
       
   263 	EMsvSessionNoObservers=234,
       
   264 	EMsvChildEntriesExist1=235,
       
   265 	EMsvChildEntriesExist2=236,
       
   266 	EMsvNonChildDeleted=237,
       
   267 	EMsvEntryHasNullServiceId=238,
       
   268 	EMsvEntryStateUndetermined=239,
       
   269 	EMsvEntryAlreadyChangingContext=240,//240
       
   270 	EMsvNonConsistentDeleteSelection=241,
       
   271 	EMsvUnknownEntryType=242,
       
   272 	EMsvEntryNewServiceNotUnderRoot=243,
       
   273 	EMsvMulitpleMtmsForMoveCommand=244,
       
   274 	EMsvMulitpleMtmsForCopyCommand=245,
       
   275 	EMsvChangingReadOnlyEntry2=246,
       
   276 	EMsvDeletingReadOnlyEntry2=247,
       
   277 	EMsvEditingStoreOfReadOnlyEntry=248,
       
   278 	EMsvCreatingInvalidEntry=249,
       
   279 	EMsvChangingToInvalidEntry=250,//250
       
   280 	EMsvStoreLeftOpenOnDestruction2=251,
       
   281 	EMsvUnknownStoreEvent3=252,
       
   282 	EMsvEntryArrayNotEmpty=253,
       
   283 	EMsvChangedChildNotFound1=254,
       
   284 	EMsvChangedChildNotFound2=255,
       
   285 	EMsvNotLocalOperation=256,
       
   286 	EMsvServerExeMissing=257,
       
   287 	EMsvEmptySelection=258,
       
   288 	EMsvStoreLeftOpen=259,
       
   289 	EMsvMovingEntryToSameParent=260,//260
       
   290 	EMsvStoreAlreadyOpen=261,
       
   291 	EMsvEntriesStillOnCleanupList=262,
       
   292 	EMsvDeletedChildNotInMainList=263,
       
   293 	EMsvContextChangedOwningService=264,
       
   294 	EMsvDeletingEntryDifferentOwningService=265,
       
   295 	EMsvMovingEntryDifferentOwningService=266,
       
   296 	EMsvCopyingEntryDifferentOwningService=267,
       
   297 	EMsvNewChildDifferentOwningService=268,
       
   298 	EMsvDeletedGrandChildDifferentOwningService=269,
       
   299 	EMsvChildHasDifferentOwningService=270,//270
       
   300 	EMsvChangedChildHasDifferentOwningService=271,
       
   301 	EMsvAskingForRootFolder2=272,
       
   302 	EMsvErrorNotification=273,
       
   303 	EMsvBadMessageDriveStreamVersion2=274,
       
   304 	EMtclMsvEntryNotSet=275,
       
   305 	EMtclRegisteredMtmDllNotPresent=276,
       
   306 	EMtclMsvEntryWrongType=277,
       
   307 	EMtclSettingEntryHasIncorrectMtm=278,
       
   308 	EMtclContextChangedByOwner=279,
       
   309 	EMsvMissingMtmData=280,//280
       
   310 
       
   311 	EMsvServerEntryNotIdle=281,// From now on these are general MSGS panics
       
   312 	EMsvServerEntryIdle=282,
       
   313 	EMsvUtilsHasDirFailed=283,
       
   314 	EMsvSvrEntryHasDirFailed=284,
       
   315 	EMsvActiveInFinalProgress=285,
       
   316 	EMsvFinalProgressFailed=286,
       
   317 	EMsvUtilsHasStoreFailed=287,
       
   318 	EMsvDescriptionBufferNotNull=288,
       
   319 	EMsvDetailsBufferNotNull=289,
       
   320 	EMsvDescriptionBufferIsNull=290,//290
       
   321 	EMsvDetailsBufferIsNull=291,
       
   322 	EMsvBadRollBackCopy1=292,
       
   323 	EMsvBadRollBackCopy2=293,
       
   324 	EMsvNotLocalService=294,
       
   325 	EMsvDeletedFlagNotSet=295,
       
   326 	EMsvDeletingEmptySelection=296,
       
   327 	EMsvDeleteAndMoveSelectionsNotNull=297,
       
   328 	EMsvMoveSelectionNotNull=298,
       
   329 	EMsvCopyingToSameParent=299,
       
   330 	EMsvCopyNotCompleted=300,//300
       
   331 	EMsvNoErrorSet=302,
       
   332 	EMsvInvalidCurrentIndex=303,
       
   333 	EMsvInvalidFindOperationEntry=304,
       
   334 	EMsvNoFindTextSpecified=305,
       
   335 	EMsvTooMuchFindTextSpecified=306,
       
   336 	EMsvFindTextAlreadyActive=307,
       
   337 	EMsvDateOutsideValidRange=308,
       
   338 	EMsvDateNotSet=309,
       
   339 	EMsvLoadingInProgress=310,
       
   340 	EMsvChangingToExistingDrive=311,
       
   341 	EMsvDiskChangeNotiferActive=312,
       
   342 	EMsvNoIndex=313,
       
   343 	EMsvInvalidDrive=314,
       
   344 	EMsvNoServerContext=315,
       
   345 	EMsvNewContextExists=316,
       
   346 	EMsvIncorrectReclaimStatus=317,
       
   347 	EMsvBackupObserverGotUnknownEvent=318,
       
   348 	EMsvBackupHandlerInUnkownState=319,
       
   349 	EMsvBackupReclaimLockFailed=320,
       
   350 	EMsvMultipleCompletedEntryData=321,
       
   351 	EMsvBadMtmVersionNumber=322,
       
   352 	EMsvConstructWithNullDllInfoArray=323,
       
   353 	EMsvAttemptToUseNullDllInfoArray=324,
       
   354 	EMsvSecurityCapabilitySetResourceIsNotPresent=325,
       
   355 	EMsvFileSessionNotValid=326,
       
   356 	EMsvServerNotValid=327,
       
   357 	EMsvCopyStoreReset=328,
       
   358 	EMsvDeleteStoreReset=329,
       
   359 	EMsvChildrenSelectionCountsMismatch=330,
       
   360 	EMsvSystemProgressOnQueuedOp=331,
       
   361 	EMsvInputBufferEmpty=332,
       
   362 	EMsvFreePoolNotCreated=333,
       
   363  	EMsvSearchSortCacheMangerNotCreated=334,
       
   364 	EMsvSearchSortDeltaCacheNotCreated=335,
       
   365 	EMsvInvalidSearchSortResultType=336,
       
   366 	EMsvIteratorCountIsMore=337,
       
   367 	EMsvInvalidRequest=338
       
   368 #if (defined SYMBIAN_MSGS_ENHANCED_REMOVABLE_MEDIA_SUPPORT)
       
   369 	,EMsvPreferredDriveListNotCreated=339
       
   370 #endif
       
   371 	};
       
   372 
       
   373 GLREF_C void PanicServer(TMsvServerPanic aPanic);
       
   374 
       
   375 #endif