ensure successive matches to a regex have distinct annotation name (indice suffix...
[jalview.git] / src / jalview / io / JPredFile.java
index 6dcbccd..dfe1ecf 100755 (executable)
@@ -63,7 +63,10 @@ public class JPredFile
   {
     super(inFile, type);
   }
-
+  public JPredFile(FileParse source) throws IOException
+  {
+    super(source);
+  }
   /**
    * DOCUMENT ME!
    *
@@ -302,8 +305,7 @@ public class JPredFile
       } catch (Exception e)
       {
         tal = null;
-        IOException ex = new IOException("Couldn't parse concise annotation for prediction profile. ("+e.getMessage()+")");
-        ex.setStackTrace(e.getStackTrace());
+        IOException ex = new IOException("Couldn't parse concise annotation for prediction profile.\n"+e);
         throw ex;
       }
       this.annotations = new Vector();