Sunday, September 19, 2010

Re: How to get the unexpected exception thrown by backend component onthe client side

This can be done with AOP. Are you using spring or anything like that?

-----Original Message-----
From: "lin.liang" <birdandfish07@gmail.com>
Sender: google-web-toolkit@googlegroups.com
Date: Sun, 19 Sep 2010 03:12:50
To: Google Web Toolkit<google-web-toolkit@googlegroups.com>
Reply-To: google-web-toolkit@googlegroups.com
Cc: <yjll2@163.com>
Subject: 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.

--
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