[Biojava-dev] ParseExceptions

Richard Holland holland at ebi.ac.uk
Fri Mar 30 08:53:02 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all. Can the person who recently modified the BJX EMBLFormat to throw
ParseExceptions using the ParseException.newMessage() method please
check all their code to make sure that it is correct. I have noticed
that every occurrence of this in EMBLFormat was implemented incorrectly
and never threw the generated message. I have fixed it there, but have
no idea how many other places this might have happened.

I have replaced all occurrences with two lines similar to this:

String message = ParseException.newMessage(....);
throw new ParseException(message);

cheers,
Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGDM/u4C5LeMEKA/QRAkf3AJ4opHh8SDa+jUIoNnKTc3XgdJzLAACfcci5
LyA41NgjkULPvdy4AeALOhw=
=PXKG
-----END PGP SIGNATURE-----



More information about the biojava-dev mailing list