Changeset 14927 for branches/PersistenceReintegration/HeuristicLab.Clients.OKB.Views/3.3/Administration
- Timestamp:
- 05/04/17 17:19:35 (8 years ago)
- Location:
- branches/PersistenceReintegration/HeuristicLab.Clients.OKB.Views/3.3/Administration/Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Clients.OKB.Views/3.3/Administration/Views/OKBItemCollectionView.cs
r14185 r14927 38 38 try { 39 39 base.removeButton_Click(sender, e); 40 } 41 catch (Exception ex) { 40 } catch (Exception ex) { 42 41 ErrorHandling.ShowErrorDialog(this, "Delete failed.", ex); 43 42 } … … 46 45 try { 47 46 base.itemsListView_KeyDown(sender, e); 48 } 49 catch (Exception ex) { 47 } catch (Exception ex) { 50 48 ErrorHandling.ShowErrorDialog(this, "Delete failed.", ex); 51 49 } … … 54 52 try { 55 53 base.itemsListView_ItemDrag(sender, e); 56 } 57 catch (Exception ex) { 54 } catch (Exception ex) { 58 55 ErrorHandling.ShowErrorDialog(this, "Delete failed.", ex); 59 56 } -
branches/PersistenceReintegration/HeuristicLab.Clients.OKB.Views/3.3/Administration/Views/ProblemView.cs
r14185 r14927 162 162 AdministrationClient.UpdateProblemUsers(Content.Id, problemUserView.GetCheckedUsers().Select(x => x.Id).ToList()); 163 163 storeUsersButton.Enabled = false; 164 } 165 catch (Exception ex) { 164 } catch (Exception ex) { 166 165 ErrorHandling.ShowErrorDialog(this, "Store authorized users and groups failed.", ex); 167 166 } … … 182 181 try { 183 182 dataViewHost.Content = XmlParser.Deserialize<IContent>(stream); 184 } 185 catch (Exception) { } 183 } catch (Exception) { } 186 184 stream.Close(); 187 185 } … … 221 219 data = null; 222 220 dataViewHost.Content = (IContent)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 223 } 224 catch (Exception ex) { 221 } catch (Exception ex) { 225 222 ErrorHandling.ShowErrorDialog(this, "Create new problem data failed.", ex); 226 223 } … … 235 232 try { 236 233 problem = XmlParser.Deserialize<IContent>(openFileDialog.FileName); 237 } 238 catch (Exception) { } 234 } catch (Exception) { } 239 235 240 236 if (problem != null) { … … 279 275 private void CallAsync(Action call, string errorMessage, Action continueWith) { 280 276 BeginAsyncCall(); 281 call.BeginInvoke(delegate (IAsyncResult result) {277 call.BeginInvoke(delegate (IAsyncResult result) { 282 278 Exception exception = null; 283 279 try { 284 280 call.EndInvoke(result); 285 } 286 catch (Exception ex) { 281 } catch (Exception ex) { 287 282 exception = ex; 288 283 }
Note: See TracChangeset
for help on using the changeset viewer.