Sunday, September 19, 2010

How to get the unexpected exception thrown by backend component on the client side

For example, when the FileNotFoundException was throw by the backend
service, now I want to retrieve this exception via gwt rpc component
and show its' stack trace on the client side. The problem is that the
FileNotFoundException is not in the serialization whitelist, even I
declare it on the service method signature(it report that no source
code for java.io.FileNotFoundException). So, how can I do to solve
this issue? Thanks

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

No comments:

Post a Comment