equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Class ExceptionReporter declaration |
|
16 * @internalComponent |
|
17 * @released |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef EXCEPTIONREPORTER_H |
|
23 #define EXCEPTIONREPORTER_H |
|
24 |
|
25 #include "exceptionimplementation.h" |
|
26 #include <stdarg.h> |
|
27 |
|
28 /** |
|
29 class exception reporter |
|
30 |
|
31 @internalComponent |
|
32 @released |
|
33 */ |
|
34 class ExceptionReporter |
|
35 { |
|
36 public: |
|
37 ExceptionReporter(int aMsgIndex, ...); |
|
38 ~ExceptionReporter(void); |
|
39 void Log(void) const; |
|
40 void Report(void) const; |
|
41 |
|
42 private: |
|
43 String iMessage; |
|
44 ExceptionImplementation* iExcepImplPtr; |
|
45 }; |
|
46 |
|
47 #endif //EXCEPTIONREPORTER_H |
|
48 |
|
49 |