javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/jsrpluginnotifier/InstallerExtensionException.java
changeset 87 1627c337e51e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/jsrpluginnotifier/InstallerExtensionException.java	Fri Oct 29 11:49:32 2010 +0300
@@ -0,0 +1,71 @@
+/*
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+package com.nokia.mj.impl.installer.jsrpluginnotifier;
+
+import com.nokia.mj.impl.utils.InstallerErrorMessage;
+import com.nokia.mj.impl.utils.InstallerDetailedErrorMessage;
+import com.nokia.mj.impl.utils.exception.InstallerExceptionBase;
+
+public class InstallerExtensionException extends InstallerExceptionBase
+{
+
+    /*** ----------------------------- PUBLIC ------------------------------ */
+
+    /**
+     * Constructor
+     *
+     * @param aShortMsgId id for short error message
+     * @param aShortMsgParams parameters for short error message
+     * @param aDetailedMsgId id for detailed error message
+     * @param aDetailedMsgParams parameters for detailed error message
+     * @param aOtaStatusCode OTA status code
+     */
+    public InstallerExtensionException(int aShortMsgId, String[] aShortMsgParams,
+                                       int aDetailedMsgId, String[] aDetailedMsgParams,
+                                       int aOtaStatusCode)
+    {
+        super(new InstallerErrorMessage(), aShortMsgId, aShortMsgParams,
+              new InstallerDetailedErrorMessage(), aDetailedMsgId, aDetailedMsgParams,
+              aOtaStatusCode);
+    }
+
+    /**
+     * Constructor
+     *
+     * @param aShortMsgId id for short error message
+     * @param aShortMsgParams parameters for short error message
+     * @param aDetailedMsgId id for detailed error message
+     * @param aDetailedMsgParams parameters for detailed error message
+     * @param aOtaStatusCode OTA status code
+     * @param aRootException the exception which caused this exception
+     */
+    public InstallerExtensionException(int aShortMsgId, String[] aShortMsgParams,
+                                       int aDetailedMsgId, String[] aDetailedMsgParams,
+                                       int aOtaStatusCode, Throwable aRootException)
+    {
+        super(new InstallerErrorMessage(), aShortMsgId, aShortMsgParams,
+              new InstallerDetailedErrorMessage(), aDetailedMsgId, aDetailedMsgParams,
+              aOtaStatusCode, aRootException);
+    }
+
+    /*** ---------------------------- PROTECTED --------------------------- */
+    /*** ----------------------------- PACKAGE ---------------------------- */
+    /*** ----------------------------- PRIVATE ---------------------------- */
+    /*** ----------------------------- NATIVE ----------------------------- */
+}