mediator/src/Client/MediatorEventConsumerBody.cpp
branchRCL_3
changeset 7 1fc153c72b60
parent 0 4e1aa6a622a0
--- a/mediator/src/Client/MediatorEventConsumerBody.cpp	Mon Mar 15 12:45:37 2010 +0200
+++ b/mediator/src/Client/MediatorEventConsumerBody.cpp	Wed Mar 31 23:31:40 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2005 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"
@@ -120,7 +120,24 @@
         }
     StartEventReceiving();
     }
-        
+ 
+// -----------------------------------------------------------------------------
+// CMediatorEventConsumerBody::RunError
+// This will be called when there is a leave from ResetDataBufferL() and MediatorEventL() of RunL()
+// 
+// -----------------------------------------------------------------------------
+//
+#ifdef _DEBUG
+TInt CMediatorEventConsumerBody::RunError( TInt aError )
+#else
+TInt CMediatorEventConsumerBody::RunError( TInt /*aError*/ )
+#endif //_DEBUG
+	{
+	ERROR_TRACE(Print(_L("[Mediator Server]\t CMediatorEventConsumerBody::RunError called with Error %d\n"), aError ));
+	//Ignore the error
+	return KErrNone;
+	}
+	
 // -----------------------------------------------------------------------------
 // CMediatorEventConsumerBody::DoCancel
 //