Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/04/15 10:39:33 (10 years ago)
Author:
jkarder
Message:

#2303: added more specific CompilationException

Location:
trunk/sources/HeuristicLab.Scripting/3.3
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Scripting/3.3/HeuristicLab.Scripting-3.3.csproj

    r11788 r11882  
    9191  </ItemGroup>
    9292  <ItemGroup>
     93    <Compile Include="CompilationException.cs" />
    9394    <Compile Include="Scripts\CSharp\CSharpScript.cs" />
    9495    <Compile Include="Scripts\Templates\CSharpScriptTemplate.cs" />
  • trunk/sources/HeuristicLab.Scripting/3.3/Script.cs

    r11787 r11882  
    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.