java 1.1 compatibility (again)
[jalview.git] / src / jalview / io / JPredFile.java
index 6dcbccd..bd57050 100755 (executable)
@@ -302,8 +302,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();