diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Core/WixFileNotFoundException.cs (renamed from src/WixToolset.Core/Exceptions/WixFileNotFoundException.cs) | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/WixToolset.Core/Exceptions/WixFileNotFoundException.cs b/src/WixToolset.Core/WixFileNotFoundException.cs index 14169c4c..7bffe417 100644 --- a/src/WixToolset.Core/Exceptions/WixFileNotFoundException.cs +++ b/src/WixToolset.Core/WixFileNotFoundException.cs | |||
@@ -14,18 +14,10 @@ namespace WixToolset | |||
14 | /// <summary> | 14 | /// <summary> |
15 | /// Instantiate a new WixFileNotFoundException. | 15 | /// Instantiate a new WixFileNotFoundException. |
16 | /// </summary> | 16 | /// </summary> |
17 | /// <param name="file">The file that could not be found.</param> | ||
18 | public WixFileNotFoundException(string file) : this(null, file, null) | ||
19 | { | ||
20 | } | ||
21 | |||
22 | /// <summary> | ||
23 | /// Instantiate a new WixFileNotFoundException. | ||
24 | /// </summary> | ||
25 | /// <param name="sourceLineNumbers">Source line information pertaining to the file that cannot be found.</param> | 17 | /// <param name="sourceLineNumbers">Source line information pertaining to the file that cannot be found.</param> |
26 | /// <param name="file">The file that could not be found.</param> | 18 | /// <param name="file">The file that could not be found.</param> |
27 | public WixFileNotFoundException(SourceLineNumber sourceLineNumbers, string file) : | 19 | public WixFileNotFoundException(SourceLineNumber sourceLineNumbers, string file) : |
28 | base(WixErrors.FileNotFound(sourceLineNumbers, file)) | 20 | base(ErrorMessages.FileNotFound(sourceLineNumbers, file)) |
29 | { | 21 | { |
30 | } | 22 | } |
31 | 23 | ||
@@ -45,7 +37,7 @@ namespace WixToolset | |||
45 | /// <param name="file">The file that could not be found.</param> | 37 | /// <param name="file">The file that could not be found.</param> |
46 | /// <param name="fileType">The type of file that cannot be found.</param> | 38 | /// <param name="fileType">The type of file that cannot be found.</param> |
47 | public WixFileNotFoundException(SourceLineNumber sourceLineNumbers, string file, string fileType) : | 39 | public WixFileNotFoundException(SourceLineNumber sourceLineNumbers, string file, string fileType) : |
48 | base(WixErrors.FileNotFound(sourceLineNumbers, file, fileType)) | 40 | base(ErrorMessages.FileNotFound(sourceLineNumbers, file, fileType)) |
49 | { | 41 | { |
50 | } | 42 | } |
51 | } | 43 | } |