persistentstorage/sql/SRC/Common/SqlAssert.h
branchRCL_3
changeset 12 6b6fd149daa2
parent 0 08ec8eefde2f
child 23 26645d81f48d
equal deleted inserted replaced
11:211563e4b919 12:6b6fd149daa2
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-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".
    44 public:
    44 public:
    45 	static void GetTimeStr(TDes& aWhere);
    45 	static void GetTimeStr(TDes& aWhere);
    46 	static TInt Assert(const TText* aFile, TInt aLine, TInt aPanicCode);
    46 	static TInt Assert(const TText* aFile, TInt aLine, TInt aPanicCode);
    47 	static void Leave(const TText* aFile, TInt aLine, TInt aError);
    47 	static void Leave(const TText* aFile, TInt aLine, TInt aError);
    48 	static TInt LeaveIfError(const TText* aFile, TInt aLine, TInt aError);
    48 	static TInt LeaveIfError(const TText* aFile, TInt aLine, TInt aError);
    49 	static void* LeaveIfNull(const TText* aFile, TInt aLine, void* aPtr);
    49 	static const void* LeaveIfNull(const TText* aFile, TInt aLine, const void* aPtr);
    50 	static TInt PanicClientL(const TText* aFile, TInt aLine, const RMessage2& aMessage, TInt aPanicCode);
    50 	static TInt PanicClientL(const TText* aFile, TInt aLine, const RMessage2& aMessage, TInt aPanicCode);
    51 	static void ErrorPrint(const TDesC& aMsg, TInt aErr);
    51 	static void ErrorPrint(const TDesC& aMsg, TInt aErr);
    52 	static void ErrorPrint(const TDesC& aMsg, const TDesC& aStr);
    52 	static void ErrorPrint(const TDesC& aMsg, const TDesC& aStr);
    53 	
    53 	
    54 private:
    54 private: