aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-03-16 07:39:16 -0700
committerRob Mensching <rob@firegiant.com>2021-03-16 07:43:10 -0700
commit98162d13605a22d897a3ad1ba134024eebe9f5d4 (patch)
tree8356d60f74565ca5ab11692e709d5b2210f86a19 /src
parent8bb7f447b3a44c6f7dfeb3a413c402903f72386f (diff)
downloadwix-98162d13605a22d897a3ad1ba134024eebe9f5d4.tar.gz
wix-98162d13605a22d897a3ad1ba134024eebe9f5d4.tar.bz2
wix-98162d13605a22d897a3ad1ba134024eebe9f5d4.zip
Add standard constructors to WixException
Diffstat (limited to 'src')
-rw-r--r--src/WixToolset.Data/WixException.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/WixToolset.Data/WixException.cs b/src/WixToolset.Data/WixException.cs
index e27e3584..77dadcd2 100644
--- a/src/WixToolset.Data/WixException.cs
+++ b/src/WixToolset.Data/WixException.cs
@@ -11,6 +11,30 @@ namespace WixToolset.Data
11 public class WixException : Exception 11 public class WixException : Exception
12 { 12 {
13 /// <summary> 13 /// <summary>
14 /// Instantiate a new WixException.
15 /// </summary>
16 public WixException()
17 {
18 }
19
20 /// <summary>
21 /// Instantiate a new WixException with a simple string message.
22 /// </summary>
23 /// <param name="message">Simple string message.</param>
24 public WixException(string message) : base(message)
25 {
26 }
27
28 /// <summary>
29 /// Instantiate a new WixException with a simple message and exception.
30 /// </summary>
31 /// <param name="message">Simple string message.</param>
32 /// <param name="innerException">Inner exception.</param>
33 public WixException(string message, Exception innerException) : base(message, innerException)
34 {
35 }
36
37 /// <summary>
14 /// Instantiate a new WixException with a given WixError. 38 /// Instantiate a new WixException with a given WixError.
15 /// </summary> 39 /// </summary>
16 /// <param name="error">The localized error information.</param> 40 /// <param name="error">The localized error information.</param>