This post originated from an RSS feed registered with Java Buzz
by Joe Shelby.
Original Post: another instance of crappy diagnostic messages
Feed Title: Joe's Java Jottings
Feed URL: http://www.blog-city.com/bc/
Feed Description: Notes, observations, and occasional other stuff on Java, with concentrations on Swing, XML, and the Semantic (Object) Web.
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?