Hi guys,

I am stuck on the gwt rpc exception handling. I got a service method
that throws a checked exception. My AsyncCallback forces me to add two
methods: onFailure(Throwable caught) and onSuccess. If the checked
exception is thrown, the callback method onFailure is invoked.

-> So far everything is ok, but eclipse forces me to add a throw/catch
block around the ServiceCall and to catch the checked exception. Even
when the exception is thrown, this code is never called as the
exception goes directly into onFailure. How can I avoid adding the try/
catch block? It is somewhat useless to me...

Regards,
Alex

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to