// 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.
namespace WixToolset.Msi
{
using System;
using WixToolset.Data;
///
/// WiX invalid idt exception.
///
[Serializable]
public sealed class WixInvalidIdtException : WixException
{
///
/// Instantiate a new WixInvalidIdtException.
///
/// The invalid idt file.
public WixInvalidIdtException(string idtFile) :
base(ErrorMessages.InvalidIdt(new SourceLineNumber(idtFile), idtFile))
{
}
///
/// Instantiate a new WixInvalidIdtException.
///
/// The invalid idt file.
/// The table name of the invalid idt file.
public WixInvalidIdtException(string idtFile, string tableName) :
base(ErrorMessages.InvalidIdt(new SourceLineNumber(idtFile), idtFile, tableName))
{
}
}
}