Changeset 11908


Ignore:
Timestamp:
02/05/15 10:58:54 (7 years ago)
Author:
jkarder
Message:

#2303: merged r11882 into stable

Location:
stable
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Scripting.Views/3.3/ScriptView.cs

    r11907 r11908  
    116116        outputTextBox.AppendText("Compilation succeeded.");
    117117        return true;
    118       } catch (InvalidOperationException) {
     118      } catch (CompilationException) {
    119119        if (Content.CompileErrors.HasErrors) {
    120120          outputTextBox.AppendText("Compilation failed.");
  • stable/HeuristicLab.Scripting/3.3/HeuristicLab.Scripting-3.3.csproj

    r11907 r11908  
    8585  </ItemGroup>
    8686  <ItemGroup>
     87    <Compile Include="CompilationException.cs" />
    8788    <Compile Include="Scripts\CSharp\CSharpScript.cs" />
    8889    <Compile Include="Scripts\Templates\CSharpScriptTemplate.cs" />
  • stable/HeuristicLab.Scripting/3.3/Script.cs

    r11907 r11908  
    127127            .AppendLine(error.ErrorText);
    128128        }
    129         throw new InvalidOperationException(string.Format("Compilation of \"{0}\" failed:{1}{2}",
     129        throw new CompilationException(string.Format("Compilation of \"{0}\" failed:{1}{2}",
    130130          Name, Environment.NewLine, sb.ToString()));
    131131      } else {
Note: See TracChangeset for help on using the changeset viewer.