| 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.BuildTasks |
| 4 | { |
| 5 | using System; |
| 6 | using System.Globalization; |
| 7 | |
| 8 | class BuildException : Exception |
| 9 | { |
| 10 | public BuildException() |
| 11 | { |
| 12 | } |
| 13 | |
| 14 | public BuildException(string message) : base(message) |
| 15 | { |
| 16 | } |
| 17 | |
| 18 | public BuildException(string message, Exception innerException) : base(message, innerException) |
| 19 | { |
| 20 | } |
| 21 | |
| 22 | public BuildException(string format, params string[] args) : this(String.Format(CultureInfo.CurrentCulture, format, args)) |
| 23 | { |
| 24 | } |
| 25 | } |
| 26 | } |