summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Exceptions/GeneralApplicationException.cs
diff options
context:
space:
mode:
authorSverrir Sigmundarson <[email protected]>2015-11-20 01:00:13 +0100
committerSverrir Sigmundarson <[email protected]>2015-11-23 14:39:32 +0100
commit4137a887b8fad760eb0c90d3ca90303aa3674740 (patch)
treeea381f573d587170d3664b716e67b232e0c92703 /win/CS/HandBrakeWPF/Exceptions/GeneralApplicationException.cs
parentec2474b1e9024d053915f9d91cf2da84f1f4fafe (diff)
Adding support for ChapterDb.org input formats (XML and TXT) files. Minor refactorings to accomodate the parsing of the new input formats.
Diffstat (limited to 'win/CS/HandBrakeWPF/Exceptions/GeneralApplicationException.cs')
-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; }