From de8382f6945c5648785129ba7c4bb080287c2220 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 24 Feb 2006 11:37:35 +0000 Subject: [PATCH] Inform user of groups error parsing --- src/jalview/appletgui/AlignFrame.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jalview/appletgui/AlignFrame.java b/src/jalview/appletgui/AlignFrame.java index 6d70bf7..7b8def3 100755 --- a/src/jalview/appletgui/AlignFrame.java +++ b/src/jalview/appletgui/AlignFrame.java @@ -140,13 +140,14 @@ public class AlignFrame extends Frame implements ActionListener, public void parseFeaturesFile(String file) { + String line = null; try { URL url = new URL(file); BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream())); SequenceI seq = null; - String line, type, desc, token; + String type, desc, token; int index, start, end; StringTokenizer st; @@ -228,7 +229,7 @@ public class AlignFrame extends Frame implements ActionListener, catch (Exception ex) { ex.printStackTrace(); - System.out.println("Error parsing groups file: " + ex); + System.out.println("Error parsing groups file: " + ex +"\n"+line); } } -- 1.7.10.2