diff -r e978f818f9bd -r cef4ff1e6c4f mediator/src/Client/MediatorEventConsumerBody.cpp --- a/mediator/src/Client/MediatorEventConsumerBody.cpp Fri Mar 19 09:58:42 2010 +0200 +++ b/mediator/src/Client/MediatorEventConsumerBody.cpp Fri Apr 16 16:18:45 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 //