JAL-1140 - IO classes should only raise generic IOExceptions
[jalview.git] / src / jalview / io / MSFfile.java
index c3ee382..7c70a09 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.datamodel.*;
 import jalview.util.*;
 
@@ -58,20 +49,13 @@ public class MSFfile extends AlignFile
    * 
    * @throws IOException
    *           DOCUMENT ME!
- * @throws SAXException 
- * @throws ParserConfigurationException 
- * @throws ExceptionFileFormatOrSyntax 
- * @throws ExceptionLoadingFailed 
- * @throws ExceptionPermissionDenied 
- * @throws InterruptedException 
- * @throws ExceptionUnmatchedClosingParentheses 
    */
-  public MSFfile(String inFile, String type) throws IOException, ExceptionFileFormatOrSyntax, ParserConfigurationException, SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed, InterruptedException, ExceptionUnmatchedClosingParentheses
+  public MSFfile(String inFile, String type) throws IOException
   {
     super(inFile, type);
   }
 
-  public MSFfile(FileParse source) throws IOException, ExceptionFileFormatOrSyntax, ParserConfigurationException, SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed, InterruptedException, ExceptionUnmatchedClosingParentheses
+  public MSFfile(FileParse source) throws IOException
   {
     super(source);
   }