Red Hat Bugzilla – Bug 697559
all GWT service interface methods must explicitly declares throws runtime exception
Last modified: 2011-05-23 21:09:50 EDT
In order for GWT to properly propogate exceptions from server to client via our GWT Service design, we must ensure all GWT Service interface methods explicitly declare "throws RuntimeException". If they do not, GWT will not expect exceptions and you'll get the nebulous exception message from GWT :
com.google.gwt.user.client.rpc.StatusCodeException:The call failed on the server; see server log for details
If we declare that the interface throws exceptions, we'll get the actual exception messages at least, which should be more helpful to users to determine what happened and possibly how to fix.
I see this in SystemGWTService - I will fix those. We need to go through all other interfaces and fix. Note this is the INTERFACES that have to have this declaration.
I think this is a must have in order to get useful feedback post release
nothing for QA to do , this is a code level change only.
Bookkeeping - closing bug - fixed in recent release.