//-------------------------------------------------------------------------------------------------
// <copyright file="WixInvalidIdtException.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are covered by the
// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
// which can be found in the file CPL.TXT at the root of this distribution.
// By using this software in any fashion, you are agreeing to be bound by
// the terms of this license.
//
// You must not remove this notice, or any other, from this software.
// </copyright>
//
// <summary>
// WiX invalid idt exception.
// </summary>
//-------------------------------------------------------------------------------------------------
namespace Microsoft.Tools.WindowsInstallerXml{
using System;
/// <summary>
/// WiX invalid idt exception.
/// </summary>
[Serializable]
public sealed class WixInvalidIdtException : WixException
{
/// <summary>
/// Instantiate a new WixInvalidIdtException.
/// </summary>
/// <param name="idtFile">The invalid idt file.</param>
public WixInvalidIdtException(string idtFile) :
base(WixErrors.InvalidIdt(SourceLineNumberCollection.FromFileName(idtFile), idtFile))
{
}
/// <summary>
/// Instantiate a new WixInvalidIdtException.
/// </summary>
/// <param name="idtFile">The invalid idt file.</param>
/// <param name="tableName">The table name of the invalid idt file.</param>
public WixInvalidIdtException(string idtFile, string tableName) :
base(WixErrors.InvalidIdt(SourceLineNumberCollection.FromFileName(idtFile), idtFile, tableName))
{
}
}
}
|