JAL-1976 improved exception handler.
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Fri, 17 Jun 2016 11:50:43 +0000 (12:50 +0100)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Fri, 17 Jun 2016 11:50:43 +0000 (12:50 +0100)
src/jalview/io/HtmlSvgOutput.java

index c9deb85..058384a 100644 (file)
@@ -100,7 +100,10 @@ public class HtmlSvgOutput
       }
     } catch (Exception e)
     {
+      pIndicator.setProgressBar(MessageManager.formatMessage(
+              "info.error_creating_file", "HTML"), pSessionId);
       e.printStackTrace();
+      return;
     }
     final File fileX = file;
     new Thread()