summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Exceptions')
-rw-r--r--win/CS/HandBrakeWPF/Exceptions/GeneralApplicationException.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Exceptions/GeneralApplicationException.cs b/win/CS/HandBrakeWPF/Exceptions/GeneralApplicationException.cs
index 10c5192af..cbbcd4058 100644
--- a/win/CS/HandBrakeWPF/Exceptions/GeneralApplicationException.cs
+++ b/win/CS/HandBrakeWPF/Exceptions/GeneralApplicationException.cs
@@ -36,6 +36,18 @@ namespace HandBrakeWPF.Exceptions
}
/// <summary>
+ /// Initializes a new instance of the <see cref="GeneralApplicationException"/> class with no wrapped exception.
+ /// </summary>
+ /// <param name="error">
+ /// The error.
+ /// </param>
+ /// <param name="solution">
+ /// The solution.
+ /// </param>
+ public GeneralApplicationException(string error, string solution) : this(error, solution, null)
+ {}
+
+ /// <summary>
/// Gets or sets FailureReason.
/// </summary>
public string Error { get; set; }