mediator/src/Client/MediatorCommandInitiatorBody.cpp
branchRCL_3
changeset 10 1fc153c72b60
parent 0 4e1aa6a622a0
--- a/mediator/src/Client/MediatorCommandInitiatorBody.cpp	Mon Mar 15 12:45:37 2010 +0200
+++ b/mediator/src/Client/MediatorCommandInitiatorBody.cpp	Wed Mar 31 23:31:40 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2009-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"
@@ -172,6 +172,23 @@
     }
 
 // -----------------------------------------------------------------------------
+// CMediatorCommandInitiatorBody::RunError
+// This will be called when there is a leave from ResetDataBufferL() or CommandResponseL() from RunL
+// 
+// -----------------------------------------------------------------------------
+//
+#ifdef _DEBUG
+TInt CMediatorCommandInitiatorBody::RunError( TInt aError )
+#else
+TInt CMediatorCommandInitiatorBody::RunError( TInt /*aError*/ )
+#endif //_DEBUG
+	{
+	ERROR_TRACE(Print(_L("[Mediator Server]\t CMediatorCommandInitiatorBody::RunError called with Error %d\n"), aError ));
+	//Ignore the error.
+	return KErrNone;
+	}
+
+// -----------------------------------------------------------------------------
 // CMediatorCommandInitiatorBody::WaitForCommandResponse
 //  
 // (other items were commented in a header).