diff options
Diffstat (limited to 'src/WixToolset.BuildTasks/BuildException.cs')
| -rw-r--r-- | src/WixToolset.BuildTasks/BuildException.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/WixToolset.BuildTasks/BuildException.cs b/src/WixToolset.BuildTasks/BuildException.cs new file mode 100644 index 00000000..953134ba --- /dev/null +++ b/src/WixToolset.BuildTasks/BuildException.cs | |||
| @@ -0,0 +1,26 @@ | |||
| 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 | } | ||
