codhandler/roapapp/src/RoapAppPanic.cpp
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2004 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 *      Panic function.
       
    16 *      
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 
       
    23 #include <e32std.h>
       
    24 #include "RoapAppPanic.h"
       
    25 #include "RoapAppLogger.h"
       
    26 
       
    27 // ================= LOCAL FUNCTIONS =======================
       
    28 
       
    29 void RoapAppPanic( TRoapAppPanicReason aReason )
       
    30     {
       
    31     _LIT( KRoapApp, "RoapApp" );
       
    32     CLOG(( 0, _L("*** RoapAppPanic(%d) ***"), aReason ));
       
    33     User::Panic( KRoapApp, aReason );
       
    34     }