Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (8 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

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  
    3838      try {
    3939        base.removeButton_Click(sender, e);
    40       }
    41       catch (Exception ex) {
     40      } catch (Exception ex) {
    4241        ErrorHandling.ShowErrorDialog(this, "Delete failed.", ex);
    4342      }
     
    4645      try {
    4746        base.itemsListView_KeyDown(sender, e);
    48       }
    49       catch (Exception ex) {
     47      } catch (Exception ex) {
    5048        ErrorHandling.ShowErrorDialog(this, "Delete failed.", ex);
    5149      }
     
    5452      try {
    5553        base.itemsListView_ItemDrag(sender, e);
    56       }
    57       catch (Exception ex) {
     54      } catch (Exception ex) {
    5855        ErrorHandling.ShowErrorDialog(this, "Delete failed.", ex);
    5956      }
  • branches/PersistenceReintegration/HeuristicLab.Clients.OKB.Views/3.3/Administration/Views/ProblemView.cs

    r14185 r14927  
    162162        AdministrationClient.UpdateProblemUsers(Content.Id, problemUserView.GetCheckedUsers().Select(x => x.Id).ToList());
    163163        storeUsersButton.Enabled = false;
    164       }
    165       catch (Exception ex) {
     164      } catch (Exception ex) {
    166165        ErrorHandling.ShowErrorDialog(this, "Store authorized users and groups failed.", ex);
    167166      }
     
    182181              try {
    183182                dataViewHost.Content = XmlParser.Deserialize<IContent>(stream);
    184               }
    185               catch (Exception) { }
     183              } catch (Exception) { }
    186184              stream.Close();
    187185            }
     
    221219          data = null;
    222220          dataViewHost.Content = (IContent)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType();
    223         }
    224         catch (Exception ex) {
     221        } catch (Exception ex) {
    225222          ErrorHandling.ShowErrorDialog(this, "Create new problem data failed.", ex);
    226223        }
     
    235232            try {
    236233              problem = XmlParser.Deserialize<IContent>(openFileDialog.FileName);
    237             }
    238             catch (Exception) { }
     234            } catch (Exception) { }
    239235
    240236            if (problem != null) {
     
    279275    private void CallAsync(Action call, string errorMessage, Action continueWith) {
    280276      BeginAsyncCall();
    281       call.BeginInvoke(delegate(IAsyncResult result) {
     277      call.BeginInvoke(delegate (IAsyncResult result) {
    282278        Exception exception = null;
    283279        try {
    284280          call.EndInvoke(result);
    285         }
    286         catch (Exception ex) {
     281        } catch (Exception ex) {
    287282          exception = ex;
    288283        }
Note: See TracChangeset for help on using the changeset viewer.