Joe's Java and Web Jottings

your host


Your Host

Calendar

««Nov 2009»»
SMTWTFS
1234567
891011121314
15161718192021
22232425262728
2930

My Top Tags

               

Java Libs and Tools

My Other Pages

My RSS Feeds








another instance of crappy diagnostic messages

posted Friday, 28 January 2005

Just like the ridiculously bad message in Xerces I pointed out a few years ago, here's another utterly WRONG error message, this time from Hani's favorite whipping boy, JBoss:

The method return values in the home interface must be of valid types for RMI/IIOP.

The REAL problem? I added a new method to the main Interface of my session bean, and forgot to add "throws RemoteException" to it.

Why is writing an accurate error message so damn hard to do?