|
1 /* |
|
2 * Copyright (c) 2010 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 "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 * |
|
16 */ |
|
17 |
|
18 |
|
19 package com.nokia.mj.impl.installer.jsrpluginnotifier; |
|
20 |
|
21 import com.nokia.mj.impl.utils.InstallerErrorMessage; |
|
22 import com.nokia.mj.impl.utils.InstallerDetailedErrorMessage; |
|
23 import com.nokia.mj.impl.utils.exception.InstallerExceptionBase; |
|
24 |
|
25 public class InstallerExtensionException extends InstallerExceptionBase |
|
26 { |
|
27 |
|
28 /*** ----------------------------- PUBLIC ------------------------------ */ |
|
29 |
|
30 /** |
|
31 * Constructor |
|
32 * |
|
33 * @param aShortMsgId id for short error message |
|
34 * @param aShortMsgParams parameters for short error message |
|
35 * @param aDetailedMsgId id for detailed error message |
|
36 * @param aDetailedMsgParams parameters for detailed error message |
|
37 * @param aOtaStatusCode OTA status code |
|
38 */ |
|
39 public InstallerExtensionException(int aShortMsgId, String[] aShortMsgParams, |
|
40 int aDetailedMsgId, String[] aDetailedMsgParams, |
|
41 int aOtaStatusCode) |
|
42 { |
|
43 super(new InstallerErrorMessage(), aShortMsgId, aShortMsgParams, |
|
44 new InstallerDetailedErrorMessage(), aDetailedMsgId, aDetailedMsgParams, |
|
45 aOtaStatusCode); |
|
46 } |
|
47 |
|
48 /** |
|
49 * Constructor |
|
50 * |
|
51 * @param aShortMsgId id for short error message |
|
52 * @param aShortMsgParams parameters for short error message |
|
53 * @param aDetailedMsgId id for detailed error message |
|
54 * @param aDetailedMsgParams parameters for detailed error message |
|
55 * @param aOtaStatusCode OTA status code |
|
56 * @param aRootException the exception which caused this exception |
|
57 */ |
|
58 public InstallerExtensionException(int aShortMsgId, String[] aShortMsgParams, |
|
59 int aDetailedMsgId, String[] aDetailedMsgParams, |
|
60 int aOtaStatusCode, Throwable aRootException) |
|
61 { |
|
62 super(new InstallerErrorMessage(), aShortMsgId, aShortMsgParams, |
|
63 new InstallerDetailedErrorMessage(), aDetailedMsgId, aDetailedMsgParams, |
|
64 aOtaStatusCode, aRootException); |
|
65 } |
|
66 |
|
67 /*** ---------------------------- PROTECTED --------------------------- */ |
|
68 /*** ----------------------------- PACKAGE ---------------------------- */ |
|
69 /*** ----------------------------- PRIVATE ---------------------------- */ |
|
70 /*** ----------------------------- NATIVE ----------------------------- */ |
|
71 } |