Research Log of Web Science Students

Computer Science is not simply programming

GWT doesn’t do Exceptions

leave a comment »

Remember: If given the option to throw exceptions OR to surround block in try-catch (Eclipse is so good, it suggests answers!), do the latter, especially if you’re working with GWT.

I think the reason behind this is GWT doesn’t allow Exceptions to be transported (or thrown back to the sender) even though it implements Serializable.  We get errors during deployment when there are Exceptions and it works when we just use try-catches.


Written by Daniela

December 21, 2009 at 4:43 pm

Posted in ProjectriX

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: