equal
deleted
inserted
replaced
157 case EHttpMovedPermanently: |
157 case EHttpMovedPermanently: |
158 case EHttpMovedTemporarily: |
158 case EHttpMovedTemporarily: |
159 case EHttpTemporaryRedirect: |
159 case EHttpTemporaryRedirect: |
160 { |
160 { |
161 // Id for r_nw_stat_too_many_redirects is -20019, browser errors start at -20000 |
161 // Id for r_nw_stat_too_many_redirects is -20019, browser errors start at -20000 |
162 msg.Set( textresolver->ResolveErrorString( KErrTooManyRedirects )); |
162 msg.Set( textresolver->ResolveErrorString( KErrTooManyRedirects )); |
|
163 DialogNoteL( msg ); |
163 break; |
164 break; |
164 } |
165 } |
165 default: |
166 default: |
166 { |
167 { |
167 // Handle all others as system error dialog |
168 // Handle all others as system error dialog |
168 msg.Set( textresolver->ResolveErrorString( aErrCode )); |
169 CCoeEnv::Static()->HandleError( aErrCode ); |
169 break; |
170 break; |
170 } |
171 } |
171 } // end of switch |
172 } // end of switch |
172 |
173 |
173 DialogNoteL( msg ); |
174 CleanupStack::PopAndDestroy(); //textresolver |
174 CleanupStack::PopAndDestroy(); //textresolver |
|
175 |
175 |
176 if ( iObserver ) |
176 if ( iObserver ) |
177 { |
177 { |
178 iObserver->ReportDialogEventL( |
178 iObserver->ReportDialogEventL( |
179 MBrowserDialogsProviderObserver::ENotifyError, |
179 MBrowserDialogsProviderObserver::ENotifyError, |