diff options
Diffstat (limited to 'src/WixToolset.Data.WindowsInstaller/WixInvalidIdtException.cs')
-rw-r--r-- | src/WixToolset.Data.WindowsInstaller/WixInvalidIdtException.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/WixToolset.Data.WindowsInstaller/WixInvalidIdtException.cs b/src/WixToolset.Data.WindowsInstaller/WixInvalidIdtException.cs new file mode 100644 index 00000000..33fd0591 --- /dev/null +++ b/src/WixToolset.Data.WindowsInstaller/WixInvalidIdtException.cs | |||
@@ -0,0 +1,32 @@ | |||
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.Data | ||
4 | { | ||
5 | using System; | ||
6 | |||
7 | /// <summary> | ||
8 | /// WiX invalid idt exception. | ||
9 | /// </summary> | ||
10 | [Serializable] | ||
11 | public sealed class WixInvalidIdtException : WixException | ||
12 | { | ||
13 | /// <summary> | ||
14 | /// Instantiate a new WixInvalidIdtException. | ||
15 | /// </summary> | ||
16 | /// <param name="idtFile">The invalid idt file.</param> | ||
17 | public WixInvalidIdtException(string idtFile) : | ||
18 | base(WixDataErrors.InvalidIdt(new SourceLineNumber(idtFile), idtFile)) | ||
19 | { | ||
20 | } | ||
21 | |||
22 | /// <summary> | ||
23 | /// Instantiate a new WixInvalidIdtException. | ||
24 | /// </summary> | ||
25 | /// <param name="idtFile">The invalid idt file.</param> | ||
26 | /// <param name="tableName">The table name of the invalid idt file.</param> | ||
27 | public WixInvalidIdtException(string idtFile, string tableName) : | ||
28 | base(WixDataErrors.InvalidIdt(new SourceLineNumber(idtFile), idtFile, tableName)) | ||
29 | { | ||
30 | } | ||
31 | } | ||
32 | } | ||