Sunday, November 14, 2010

Customizing Serialization process for exceptions In GWT

Hi,

I am curious to find out if we can override few features in GWT to
achieve the following :- In GWT if we want an exception to be
propagated to the client, the interfaces (extending RemoteService)
should have the throws explicitly declared. In our project we have an
exception hierarchy defined and we would like the developers not to
explicitly mention the throws keyword in the interface but instead
some customization being able to be done in GWT which would serialize
and send across this hierarchy if the server side throws it...

for eg:- if the base class of the exception hierarchy is
com.sample.ParentException .. GWT should automatically serialize this
and send across to client side instead of developers explicitly
declaring the exception would be thrown in the interface definition.

Let me know if this is possible throught GWT? We are using GWT 1.7.1
for this...

Thank you in advance...

Cheers!

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate