From 4e90c5d7af9196e6d2e1fb21281e9e00c45776d0 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 9 Mar 2016 05:58:49 +0000 Subject: [PATCH] Show expected exceptions as info message --- source/net/filebot/ui/rename/FormatDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/ui/rename/FormatDialog.java b/source/net/filebot/ui/rename/FormatDialog.java index 439a1833..4d0a08cc 100644 --- a/source/net/filebot/ui/rename/FormatDialog.java +++ b/source/net/filebot/ui/rename/FormatDialog.java @@ -535,7 +535,7 @@ public class FormatDialog extends JDialog { // check empty output if (get().trim().isEmpty()) { - throw new RuntimeException("Formatted value is empty"); + throw new Exception("Formatted value is empty"); } // no warning or error