1 // Copyright (c) 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 // @file panic.h |
|
15 // Panic codes and panic function. This header should be kept private and not exported to |
|
16 // /epoc32/include/ |
|
17 |
|
18 #ifndef __PANIC_H__ |
|
19 #define __PANIC_H__ |
|
20 |
|
21 /** |
|
22 * Please add new panic codes to the end of the list so that panic code values |
|
23 * do not change meaning. |
|
24 * You can name the panic code as you wish. |
|
25 */ |
|
26 enum TTSYPanic |
|
27 { |
|
28 EGeneral, |
|
29 EUnexpectedState, |
|
30 EATCommand_NotConstructed, |
|
31 EATCommand_IllegalCompletionWaitExpected, |
|
32 EATCommand_IllegalCompletionWriteExpected, |
|
33 EATCommand_IllegalCompletionWriteNotExpected, |
|
34 EATCommand_IllegalCompletionReadExpected, |
|
35 EATCommand_IllegalCompletionReadNotExpected, |
|
36 EATCommand_IllegalWaitCompletion, |
|
37 EATCommand_IllegalResponse, |
|
38 EIllegalTsyReqHandle, |
|
39 EIllegalPanicOccurredValue, |
|
40 EIllegalOwnedState, |
|
41 ENotifications_Remaining, |
|
42 ELastEvents_Remaining, |
|
43 ECalls_Remaining, |
|
44 EFaxPtrNull, |
|
45 EFaxCompletionPtrNull, |
|
46 EATCommand_NotInProgress, |
|
47 ERelinquishOwnershipWithNoCall, |
|
48 EIllegalTsyNameInConnectedModemRecord, |
|
49 EIllegalCallDuration, |
|
50 EIllegalEvent, |
|
51 EPreAllocatedCallDoesNotExist, |
|
52 ENewCallDoesNotExist, |
|
53 ECallNameAlreadyExists, |
|
54 ERingingCallNotFound, |
|
55 ELineAlreadyExists, |
|
56 EAcquirerNotFound, |
|
57 EUnknownPhoneBookStorageTypeIndex, |
|
58 EIllegalPhoneBookState, |
|
59 EFaxServerNotNull, |
|
60 ENotDataCallType, |
|
61 EATSmsUtilsDescriptorOverflow, |
|
62 EATSmsUtilsOddNumberOfSemiOctets, |
|
63 EATSmsCommandsWrongRequest, |
|
64 EATSmsCommandsUnknownRequestStage, |
|
65 EATSmsCommandsUnknownRequest, |
|
66 EATSmsCommandsWrongRequestToCancel, |
|
67 EATSmsMessagingSendNullMsgAttributes, |
|
68 EATSmsMessagingSCATooLarge, |
|
69 EATSmsMessagingUnknownRequestCompleted, |
|
70 EMobileSmsMessagingUnknownIPC, |
|
71 EMobileSmsMessagingUnknownParamVersion, |
|
72 EMobileSmsMessagingNotYetImplemented, |
|
73 EMobileSmsMessagingNullParameter, |
|
74 EMobileSmsMessagingUnexpectedState, |
|
75 EMobileSmsMessagingReceiveBufferEmpty, |
|
76 EMobileSmsMessagingASCIIPduHasOddLength, |
|
77 EMobileSmsMessagingDigitCountOutOfRange, |
|
78 EMobileSmsMessagingCanNotReceiveUnstoredMessage, |
|
79 EMobileSmsMessagingMessageNotReserved, |
|
80 EMobileSmsMessagingClientAllocatedTooLittle, |
|
81 EMobileSmsMessagingClientAllocatedTooMuch, |
|
82 EMobileSmsMessagingSmsCapsNotValid, |
|
83 EMobileSmsMessagingIllegalIPCCallForRxMode, |
|
84 EMobileSmsMessagingAlreadyStarted, |
|
85 EMobileSmsMessagingCanNotReceiveStoredMessage, |
|
86 ECMTHandlerDesPassedWithZeroLength, |
|
87 EATGetSignalNullParameter, |
|
88 EReceiveSmsQueueRequestOutstanding, |
|
89 EMobileSmsMessagingPhoneNotSetToAReceiveMode, |
|
90 EMobileSmsMessagingPhoneNotSetToASupportedReceiveMode, |
|
91 ESmsRxQueuePduReadNullPointers, |
|
92 ESmsRxQueuePduReadNoState, |
|
93 ESmsRxQueuePduReadStopCalled, |
|
94 ESmsRxQueuePduReadNonNullExpectString, |
|
95 ESmsRxQueuePduReadNullExpectString, |
|
96 ESmsRxQueuePduReadNullParameter, |
|
97 ESmsRxQueuePduReadSCARemovalFailure, |
|
98 EATSmsUtilsUnknownStoreName, |
|
99 EATWaitForCMTNoState, |
|
100 EATWaitForCMTSCARemovalFailure, |
|
101 EATWaitForCMTPDUTooLong, |
|
102 ETsyConfigNullDBPointer, |
|
103 ETsyConfigAmbiguousModemTables, |
|
104 ETsyConfigMMTSYNotInModemTables, |
|
105 EPacketContextsRemaining, |
|
106 EPacketContextDoesNotExist, |
|
107 EUnableToConnectToFlogger, |
|
108 }; |
|
109 |
|
110 GLREF_C void Panic(TTSYPanic aPanicNumber); |
|
111 |
|
112 #endif |
|