summaryrefslogtreecommitdiffstats
path: root/win/CS/frmPreview.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/frmPreview.cs')
-rw-r--r--win/CS/frmPreview.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/CS/frmPreview.cs b/win/CS/frmPreview.cs
index bcafc23a1..a9cf946ab 100644
--- a/win/CS/frmPreview.cs
+++ b/win/CS/frmPreview.cs
@@ -13,7 +13,9 @@ namespace Handbrake
using Functions;
using HandBrake.ApplicationServices;
+ using HandBrake.ApplicationServices.Exceptions;
using HandBrake.ApplicationServices.Model;
+ using HandBrake.ApplicationServices.Model.General;
using HandBrake.ApplicationServices.Services;
using HandBrake.ApplicationServices.Services.Interfaces;
@@ -138,7 +140,7 @@ namespace Handbrake
}
catch (Exception exc)
{
- Main.ShowExceptiowWindow("An Unexpected error has occured", exc.ToString());
+ throw new GeneralApplicationException("An Unexpected error has occured", " Your encode may not have completed sucessfully.", exc);
}
}