equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-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 * Error Handler Class for FileSystem component |
|
16 * @internalComponent |
|
17 * @released |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef ERRORHANDLER_H |
|
23 #define ERRORHANDLER_H |
|
24 |
|
25 #include "messagehandler.h" |
|
26 #include "constants.h" |
|
27 #include <iostream> |
|
28 #include <stdio.h> |
|
29 |
|
30 /** |
|
31 Class for Error handling |
|
32 |
|
33 @internalComponent |
|
34 @released |
|
35 */ |
|
36 class ErrorHandler |
|
37 { |
|
38 public: |
|
39 ErrorHandler(int aMessageIndex,char* aSubMessage,char* aFileName, int aLineNumber); |
|
40 ErrorHandler(int aMessageIndex, char* aFileName, int aLineNumber); |
|
41 virtual ~ErrorHandler(); |
|
42 void Report(); |
|
43 |
|
44 String iMessage; |
|
45 int iMessageIndex; |
|
46 String iSubMessage; |
|
47 String iFileName; |
|
48 int iLineNumber; |
|
49 }; |
|
50 |
|
51 #endif //ERRORHANDLER_H |