diff options
| author | Rob Mensching <rob@firegiant.com> | 2018-07-21 07:36:34 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2018-07-21 07:36:34 -0700 |
| commit | 306f1d0c528cb6c151594ff96a41b5c01a5c4d9b (patch) | |
| tree | 95deb0884b59decc082eae7adf5d65d45c5f3848 /src/WixToolset.BuildTasks/BuildException.cs | |
| parent | 6fc54af07b10742e883f3a39ef0114e55e6a36a0 (diff) | |
| download | wix-306f1d0c528cb6c151594ff96a41b5c01a5c4d9b.tar.gz wix-306f1d0c528cb6c151594ff96a41b5c01a5c4d9b.tar.bz2 wix-306f1d0c528cb6c151594ff96a41b5c01a5c4d9b.zip | |
Integrate tools from Core project
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 | } | ||
