proxy commit for Anne Menard <menard.annec@gmail.com> throw generic exceptions (just...
[jalview.git] / src / jalview / io / SimpleBlastFile.java
index 4deb3f1..53d2790 100644 (file)
@@ -20,8 +20,16 @@ package jalview.io;
 import java.io.*;
 import java.util.*;
 
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.xml.sax.SAXException;
+
+import fr.orsay.lri.varna.exceptions.ExceptionFileFormatOrSyntax;
+import fr.orsay.lri.varna.exceptions.ExceptionLoadingFailed;
+import fr.orsay.lri.varna.exceptions.ExceptionPermissionDenied;
+import fr.orsay.lri.varna.exceptions.ExceptionUnmatchedClosingParentheses;
+
 import jalview.datamodel.*;
-import jalview.util.*;
 
 /**
  * parse a simple blast report. Attempt to cope with query anchored and pairwise
@@ -46,12 +54,12 @@ public class SimpleBlastFile extends AlignFile
   {
   }
 
-  public SimpleBlastFile(String inFile, String type) throws IOException
+  public SimpleBlastFile(String inFile, String type) throws Exception
   {
     super(inFile, type);
   }
 
-  public SimpleBlastFile(FileParse source) throws IOException
+  public SimpleBlastFile(FileParse source) throws Exception
   {
     super(source);
   }