- Timestamp:
- 06/06/12 15:52:34 (12 years ago)
- Location:
- branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/HeuristicLab.Clients.OKB-3.3.csproj
r7742 r7973 330 330 <Compile Include="RunCreation\EmptySolutionCreator.cs" /> 331 331 <Compile Include="RunCreation\ItemWrapper.cs" /> 332 <Compile Include="RunCreation\MissingClientRegistrationException.cs" /> 332 333 <Compile Include="RunCreation\MultiObjectiveOKBProblem.cs" /> 333 334 <Compile Include="RunCreation\NamedItemWrapper.cs" /> -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBRun.cs
r7741 r7973 140 140 if (Stored) throw new InvalidOperationException("Cannot store already stored run."); 141 141 if (!ClientInformation.Instance.ClientExists) { 142 throw new Exception("To be able to store runs, you need to register your client first.");142 throw new MissingClientRegistrationException(); 143 143 } 144 144 -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation/Views/OKBRunView.cs
r7331 r7973 21 21 22 22 using System; 23 using System.Windows.Forms; 23 24 using HeuristicLab.Core.Views; 24 25 using HeuristicLab.MainForm; … … 68 69 Content.Store(); 69 70 } 71 catch (MissingClientRegistrationException) { 72 MessageBox.Show("You have to register your client to be able to store OKB runs." + Environment.NewLine 73 + " Please click in the menu bar on Services -> Access -> Client Information and register your client. ", "Missing client registration", MessageBoxButtons.OK, MessageBoxIcon.Information); 74 } 70 75 catch (Exception ex) { 71 76 ErrorHandling.ShowErrorDialog(this, "Store failed.", ex);
Note: See TracChangeset
for help on using the changeset viewer.