JAL-1140 - IO classes should only raise generic IOExceptions
[jalview.git] / src / jalview / io / FastaFile.java
index f413540..0e964b3 100755 (executable)
@@ -19,14 +19,6 @@ package jalview.io;
 
 import java.io.*;
 
-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.*;
 
@@ -62,20 +54,13 @@ public class FastaFile extends AlignFile
    * 
    * @throws IOException
    *           DOCUMENT ME!
- * @throws SAXException 
- * @throws ParserConfigurationException 
- * @throws ExceptionFileFormatOrSyntax 
- * @throws ExceptionLoadingFailed 
- * @throws ExceptionPermissionDenied 
- * @throws InterruptedException 
- * @throws ExceptionUnmatchedClosingParentheses 
    */
-  public FastaFile(String inFile, String type) throws IOException, ExceptionFileFormatOrSyntax, ParserConfigurationException, SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed, InterruptedException, ExceptionUnmatchedClosingParentheses
+  public FastaFile(String inFile, String type) throws IOException
   {
     super(inFile, type);
   }
 
-  public FastaFile(FileParse source) throws IOException, ExceptionFileFormatOrSyntax, ParserConfigurationException, SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed, InterruptedException, ExceptionUnmatchedClosingParentheses
+  public FastaFile(FileParse source) throws IOException
   {
     super(source);
   }