diff options
author | Rob Mensching <rob@firegiant.com> | 2018-01-02 14:19:49 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2018-01-02 14:19:49 -0800 |
commit | b75681cadcfa4347a98e4815154d6c2d311da62a (patch) | |
tree | 729e5204984b35beca39e194e88e361333d5724a /src | |
parent | 58f9e097a445dbdf3139832ac471374e68678fc6 (diff) | |
download | wix-b75681cadcfa4347a98e4815154d6c2d311da62a.tar.gz wix-b75681cadcfa4347a98e4815154d6c2d311da62a.tar.bz2 wix-b75681cadcfa4347a98e4815154d6c2d311da62a.zip |
Move WixFileNotFoundException from Core back to Data
Diffstat (limited to 'src')
-rw-r--r-- | src/WixToolset.Core/WixFileNotFoundException.cs | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/WixToolset.Core/WixFileNotFoundException.cs b/src/WixToolset.Core/WixFileNotFoundException.cs deleted file mode 100644 index 7bffe417..00000000 --- a/src/WixToolset.Core/WixFileNotFoundException.cs +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixToolset | ||
4 | { | ||
5 | using System; | ||
6 | using WixToolset.Data; | ||
7 | |||
8 | /// <summary> | ||
9 | /// WixException thrown when a file cannot be found. | ||
10 | /// </summary> | ||
11 | [Serializable] | ||
12 | public sealed class WixFileNotFoundException : WixException | ||
13 | { | ||
14 | /// <summary> | ||
15 | /// Instantiate a new WixFileNotFoundException. | ||
16 | /// </summary> | ||
17 | /// <param name="sourceLineNumbers">Source line information pertaining to the file that cannot be found.</param> | ||
18 | /// <param name="file">The file that could not be found.</param> | ||
19 | public WixFileNotFoundException(SourceLineNumber sourceLineNumbers, string file) : | ||
20 | base(ErrorMessages.FileNotFound(sourceLineNumbers, file)) | ||
21 | { | ||
22 | } | ||
23 | |||
24 | /// <summary> | ||
25 | /// Instantiate a new WixFileNotFoundException. | ||
26 | /// </summary> | ||
27 | /// <param name="file">The file that could not be found.</param> | ||
28 | /// <param name="fileType">The type of file that cannot be found.</param> | ||
29 | public WixFileNotFoundException(string file, string fileType) : this(null, file, fileType) | ||
30 | { | ||
31 | } | ||
32 | |||
33 | /// <summary> | ||
34 | /// Instantiate a new WixFileNotFoundException. | ||
35 | /// </summary> | ||
36 | /// <param name="sourceLineNumbers">Source line information pertaining to the file that cannot be found.</param> | ||
37 | /// <param name="file">The file that could not be found.</param> | ||
38 | /// <param name="fileType">The type of file that cannot be found.</param> | ||
39 | public WixFileNotFoundException(SourceLineNumber sourceLineNumbers, string file, string fileType) : | ||
40 | base(ErrorMessages.FileNotFound(sourceLineNumbers, file, fileType)) | ||
41 | { | ||
42 | } | ||
43 | } | ||
44 | } | ||