Report invalid chars
[jalview.git] / src / jalview / io / JPredFile.java
index cadf153..f5ba7d6 100755 (executable)
@@ -283,9 +283,9 @@ public class JPredFile extends AlignFile
             if (!Symscores.containsKey(ids.elementAt(i)) &&\r
                     !isValidProteinSequence(newSeq.getSequence()))\r
             {\r
-                throw new IOException(\r
-                    "JPredConcise: Not a valid protein sequence - (" +\r
-                    ids.elementAt(i).toString() + ")");\r
+                throw new IOException("JPredConcise: "\r
+                                      +AppletFormatAdapter.INVALID_CHARACTERS +" : "\r
+                                      +ids.elementAt(i).toString() + ")");\r
             }\r
 \r
             if (maxLength != seq_entries.elementAt(i).toString().length())\r