JAL-1140 - IO classes should only raise generic IOExceptions
[jalview.git] / src / jalview / io / FeaturesFile.java
index afbd223..ea7ac70 100755 (executable)
@@ -20,15 +20,6 @@ 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.analysis.SequenceIdMatcher;
 import jalview.datamodel.*;
 import jalview.schemes.*;
@@ -68,26 +59,13 @@ public class FeaturesFile extends AlignFile
    * 
    * @throws IOException
    *           DOCUMENT ME!
-   * @throws SAXException
-   * @throws ParserConfigurationException
-   * @throws ExceptionFileFormatOrSyntax
-   * @throws ExceptionLoadingFailed
-   * @throws ExceptionPermissionDenied
-   * @throws InterruptedException
-   * @throws ExceptionUnmatchedClosingParentheses
    */
-  public FeaturesFile(String inFile, String type) throws IOException,
-          ExceptionFileFormatOrSyntax, ParserConfigurationException,
-          SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed,
-          InterruptedException, ExceptionUnmatchedClosingParentheses
+  public FeaturesFile(String inFile, String type) throws IOException
   {
     super(inFile, type);
   }
 
-  public FeaturesFile(FileParse source) throws IOException,
-          ExceptionFileFormatOrSyntax, ParserConfigurationException,
-          SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed,
-          InterruptedException, ExceptionUnmatchedClosingParentheses
+  public FeaturesFile(FileParse source) throws IOException
   {
     super(source);
   }