122 // --------------------------------------------------------------------------- |
122 // --------------------------------------------------------------------------- |
123 // |
123 // |
124 void CMCSExecuteAction::RunL() |
124 void CMCSExecuteAction::RunL() |
125 { |
125 { |
126 TInt err = iStatus.Int(); |
126 TInt err = iStatus.Int(); |
|
127 |
127 if ( err == KErrNone ) |
128 if ( err == KErrNone ) |
128 { |
129 { |
129 ExecuteL( iItemId, iAction ); |
130 TRAP( err, ExecuteL( iItemId, iAction ) ); |
130 } |
131 } |
|
132 if(err != KErrNone) |
|
133 { |
|
134 NotifyRequestResult( err ); |
|
135 } |
131 } |
136 } |
132 |
137 |
133 // --------------------------------------------------------------------------- |
138 // --------------------------------------------------------------------------- |
134 // CMCSExecuteAction::RunError |
139 // CMCSExecuteAction::RunError |
135 // --------------------------------------------------------------------------- |
140 // --------------------------------------------------------------------------- |
136 // |
141 // |
137 TInt CMCSExecuteAction::RunError(TInt aError) |
142 TInt CMCSExecuteAction::RunError(TInt aError) |
138 { |
143 { |
139 NotifyRequestResult( aError ); |
144 NotifyRequestResult( aError ); |
|
145 if ( (aError != KErrDiskFull) && (aError != KErrNoMemory)) |
|
146 { |
|
147 aError = KErrNone; |
|
148 } |
140 return aError; |
149 return aError; |
141 } |
150 } |
142 |
151 |
143 // --------------------------------------------------------------------------- |
152 // --------------------------------------------------------------------------- |
144 // Activates the asynchronous request |
153 // Activates the asynchronous request |