proxy commit for Anne Menard <menard.annec@gmail.com> throw generic exceptions (just...
[jalview.git] / src / jalview / io / StockholmFile.java
index 07a5c80..86cb4ae 100644 (file)
@@ -62,12 +62,12 @@ public class StockholmFile extends AlignFile
   {\r
   }\r
 \r
-  public StockholmFile(String inFile, String type) throws IOException, ExceptionFileFormatOrSyntax, ParserConfigurationException, SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed, InterruptedException, ExceptionUnmatchedClosingParentheses\r
+  public StockholmFile(String inFile, String type) throws Exception \r
   {\r
     super(inFile, type);\r
   }\r
 \r
-  public StockholmFile(FileParse source) throws IOException, ExceptionFileFormatOrSyntax, ParserConfigurationException, SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed, InterruptedException, ExceptionUnmatchedClosingParentheses\r
+  public StockholmFile(FileParse source) throws Exception \r
   {\r
     super(source);\r
   }\r
@@ -85,7 +85,7 @@ public class StockholmFile extends AlignFile
    *           If there is an error with the input file\r
  * @throws ExceptionUnmatchedClosingParentheses \r
    */\r
-  public void parse() throws IOException, ExceptionUnmatchedClosingParentheses\r
+  public void parse()\r
   {\r
          FileReader fr = null;\r
          fr = new FileReader(inFile); \r