featuremgmt/featuremgr/src/serverexe/featmgrpluginhandler.cpp
branchRCL_3
changeset 10 31a8f755b7fe
parent 0 08ec8eefde2f
equal deleted inserted replaced
9:667e88a979d7 10:31a8f755b7fe
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    22 #include "featmgrclientserver.h"
    22 #include "featmgrclientserver.h"
    23 #include "featmgrdebug.h"
    23 #include "featmgrdebug.h"
    24 #include "featmgrserver.h"
    24 #include "featmgrserver.h"
    25 
    25 
    26 // LOCAL CONSTANTS
    26 // LOCAL CONSTANTS
    27 _LIT( KPanicCategory, "FeatMgrPluginHandler" );
    27 _LIT(KPanicCategory, "FeatMgrPluginHandler");
    28 
    28 
    29 // ============================= LOCAL FUNCTIONS ===============================
    29 // ============================= LOCAL FUNCTIONS ===============================
    30 
    30 
    31 // ============================ MEMBER FUNCTIONS ===============================
    31 // ============================ MEMBER FUNCTIONS ===============================
    32 
    32 
   190     else
   190     else
   191         {
   191         {
   192         ERROR_LOG2( "CFeatMgrPluginHandler::ProcessFeatureInfoL - pluginhandler %x, error %d - going to panic",
   192         ERROR_LOG2( "CFeatMgrPluginHandler::ProcessFeatureInfoL - pluginhandler %x, error %d - going to panic",
   193                                      this, aResponse().iErrorCode );
   193                                      this, aResponse().iErrorCode );
   194         // This is considered fatal enough reason to panic
   194         // This is considered fatal enough reason to panic
   195         User::Panic( KPanicCategory, EPanicInvalidFeatureInfo );                       
   195         ::FmgrFatalErrorL(aResponse().iErrorCode, KPanicCategory, EPanicInvalidFeatureInfo);                       
   196         }
   196         }
   197     }
   197     }
   198 
   198 
   199 // -----------------------------------------------------------------------------
   199 // -----------------------------------------------------------------------------
   200 // CFeatMgrPluginHandler::ProcessFeatureInfoL
   200 // CFeatMgrPluginHandler::ProcessFeatureInfoL
   241     else
   241     else
   242         {
   242         {
   243         ERROR_LOG2( "CFeatMgrPluginHandler::ProcessFeatureInfoL - pluginhandler %x, error %d - going to panic",
   243         ERROR_LOG2( "CFeatMgrPluginHandler::ProcessFeatureInfoL - pluginhandler %x, error %d - going to panic",
   244                                      this, aResponse().iErrorCode );
   244                                      this, aResponse().iErrorCode );
   245         // This is considered fatal enough reason to panic
   245         // This is considered fatal enough reason to panic
   246         User::Panic( KPanicCategory, EPanicInvalidFeatureInfo );                       
   246         ::FmgrFatalErrorL(aResponse().iErrorCode, KPanicCategory, EPanicInvalidFeatureInfo);                       
   247         }
   247         }
   248     }
   248     }
   249 
   249 
   250 // ========================== OTHER EXPORTED FUNCTIONS =========================
   250 // ========================== OTHER EXPORTED FUNCTIONS =========================
   251 
   251