supl/locationsuplfw/gateway/src/epos_csuplserverpanic.cpp
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 2005 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:   Server Panic handler
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <e32base.h>
       
    22 #include "epos_csuplserverpanic.h"
       
    23 #include "epos_csuplglobal.h"
       
    24 
       
    25 // CONSTANTS
       
    26 _LIT(KSuplPanicCategory, "EPosSuplGateway");
       
    27 
       
    28 // CONSTANTS
       
    29 //#ifdef _DEBUG
       
    30 _LIT(KTraceFileName, "SUPL_GW::epos_csuplserverpanic.cpp");
       
    31 //#endif
       
    32 
       
    33 // IMPLEMENTATION
       
    34 
       
    35 // ---------------------------------------------------------
       
    36 // DebugPanic
       
    37 // ---------------------------------------------------------
       
    38 GLDEF_C void DebugPanic(TSuplServerDebugPanic aPanic)
       
    39     {
       
    40     DEBUG_TRACE("EPosSuplGateway panicked with error code: ", aPanic);
       
    41     User::Panic(KSuplPanicCategory, aPanic);
       
    42     }
       
    43 
       
    44 // End of file