|Summary:||Throwables should have meaningful messages|
|Product:||XMLGraphicsCommons - Now in Jira||Reporter:||Sebb <sebb>|
|Component:||image codecs||Assignee:||XML Graphics Project Mailing List <general>|
Description Sebb 2009-05-09 03:49:18 UTC
There are a quite a few instances in the code where no message is passed to the throwable, e.g. throw new RuntimeException() throw new NullPointerException() In other cases, the text is meaningless, so might as well not be there, e.g. throw new Error("TIFFImageEncoder2"); It would help if meaningful messages were provided.
Comment 1 Glenn Adams 2012-04-09 23:40:06 UTC
http://svn.apache.org/viewvc?view=revision&revision=1311522 however, did not add message to NPE throws since context is sufficient