// 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 { using System; using WixToolset.Data; /// /// WixException thrown when a file cannot be found. /// [Serializable] public sealed class WixFileNotFoundException : WixException { /// /// Instantiate a new WixFileNotFoundException. /// /// Source line information pertaining to the file that cannot be found. /// The file that could not be found. public WixFileNotFoundException(SourceLineNumber sourceLineNumbers, string file) : base(ErrorMessages.FileNotFound(sourceLineNumbers, file)) { } /// /// Instantiate a new WixFileNotFoundException. /// /// The file that could not be found. /// The type of file that cannot be found. public WixFileNotFoundException(string file, string fileType) : this(null, file, fileType) { } /// /// Instantiate a new WixFileNotFoundException. /// /// Source line information pertaining to the file that cannot be found. /// The file that could not be found. /// The type of file that cannot be found. public WixFileNotFoundException(SourceLineNumber sourceLineNumbers, string file, string fileType) : base(ErrorMessages.FileNotFound(sourceLineNumbers, file, fileType)) { } } }