diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-09-17 15:35:20 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-09-17 16:00:11 -0700 |
| commit | d3d3649a68cb1fa589fdd987a6690dbd5d671f0d (patch) | |
| tree | 44fe37ee352b7e3a355cc1e08b1d7d5988c14cc0 /src/WixToolset.BuildTasks/BuildException.cs | |
| parent | a62610d23d6feb98be3b1e529a4e81b19d77d9d8 (diff) | |
| download | wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.tar.gz wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.tar.bz2 wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.zip | |
Initial code commit
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 | } | ||
