|
1 // Copyright (c) 2001-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 #ifndef __WSPPANIC_H__ |
|
17 #define __WSPPANIC_H__ |
|
18 |
|
19 #include <e32std.h> |
|
20 |
|
21 // @todo docing |
|
22 |
|
23 _LIT(KWspPanicCategory, "WSP-CO-PH"); |
|
24 enum TWspPanic |
|
25 { |
|
26 KWspPanicDisconnectNotDone = 1, |
|
27 KWspPanicBadClientMessageSize = 2, |
|
28 KWspPanicBadServerMessageSize = 3, |
|
29 KWspPanicBadMethodMOR = 4, |
|
30 KWspPanicBadConenctionTimeout = 5, |
|
31 |
|
32 KWspPanicMethodsStillOutstanding = 6, |
|
33 KWspPanicTransportHandlerAlreadyExists = 7, |
|
34 KWspPanicTransportHandlerDoesNotExist = 8, |
|
35 KWspPanicNotExpectingMoreResponseData = 9, |
|
36 KWspPanicRxDataObjectNotReset = 10, |
|
37 |
|
38 KWspPanicResponseDataNotReleased = 11, |
|
39 KWspPanicNoResponseDataReceived = 12, |
|
40 KWspPanicMethodAlreadyActive = 13, |
|
41 KWspPanicLDTNotSuppoted = 14, |
|
42 KWspPanicNotExpectingMoreRequestData = 15, |
|
43 |
|
44 KWspPanicBadMethodState = 16, |
|
45 KWspPanicTxDataObjectNotReset = 17, |
|
46 KWspPanicNoRequestDataReceived = 18, |
|
47 KWspPanicBadMethodType = 19, |
|
48 KWspPanicBadProxyAddressProperty = 20, |
|
49 |
|
50 KWspPanicBadServiceNumberProperty = 21, |
|
51 KWspPanicBadWspSessionTypeProperty = 22, |
|
52 KWspPanicBadBearerProperty = 23, |
|
53 KWspPanicBadSecurityProperty = 24, |
|
54 KWspPanicBadPortProperty = 25, |
|
55 |
|
56 KWspPanicCommDBContainsBadData = 26, |
|
57 KWspPanicBadTrailerHeader = 27, |
|
58 KWspPanicNoTrailerHeaders = 28, |
|
59 KWspPanicBadBearerType = 29, |
|
60 KWspPanicSessionNotInValidState = 30, |
|
61 |
|
62 KWspPanicIllegalSessionState = 31, |
|
63 KWspPanicNoMoreMessageSpace = 32, |
|
64 KWspPanicTxDataInInvalidState = 33 |
|
65 }; |
|
66 |
|
67 GLREF_C void Panic(TWspPanic aPanic); |
|
68 |
|
69 #endif // __WSPPANIC_H__ |