JAL-1140 - IO classes should only raise generic IOExceptions
[jalview.git] / src / jalview / appletgui / AlignFrame.java
index 6826266..4d574d6 100644 (file)
@@ -84,7 +84,6 @@ import java.awt.event.KeyListener;
 import java.awt.event.WindowAdapter;\r
 import java.awt.event.WindowEvent;\r
 import java.io.IOException;\r
-import java.io.InputStreamReader;\r
 import java.net.URL;\r
 import java.net.URLEncoder;\r
 import java.util.Enumeration;\r
@@ -93,14 +92,6 @@ import java.util.List;
 import java.util.StringTokenizer;\r
 import java.util.Vector;\r
 \r
-import javax.xml.parsers.ParserConfigurationException;\r
-\r
-import org.xml.sax.SAXException;\r
-\r
-import fr.orsay.lri.varna.exceptions.ExceptionFileFormatOrSyntax;\r
-import fr.orsay.lri.varna.exceptions.ExceptionLoadingFailed;\r
-import fr.orsay.lri.varna.exceptions.ExceptionPermissionDenied;\r
-import fr.orsay.lri.varna.exceptions.ExceptionUnmatchedClosingParentheses;\r
 \r
 public class AlignFrame extends EmbmenuFrame implements ActionListener,\r
         ItemListener, KeyListener\r
@@ -3724,18 +3715,8 @@ public class AlignFrame extends EmbmenuFrame implements ActionListener,
    *          File/URL/T-COFFEE score file contents\r
    * @throws IOException\r
    * @return true if alignment was annotated with data from source\r
-   * @throws SAXException\r
-   * @throws ParserConfigurationException\r
-   * @throws ExceptionFileFormatOrSyntax\r
-   * @throws ExceptionLoadingFailed\r
-   * @throws ExceptionPermissionDenied\r
-   * @throws InterruptedException\r
-   * @throws ExceptionUnmatchedClosingParentheses\r
    */\r
-  public boolean loadScoreFile(String source) throws IOException,\r
-          ExceptionFileFormatOrSyntax, ParserConfigurationException,\r
-          SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed,\r
-          InterruptedException, ExceptionUnmatchedClosingParentheses\r
+  public boolean loadScoreFile(String source) throws IOException\r
   {\r
 \r
     TCoffeeScoreFile file = new TCoffeeScoreFile(source,\r