Tuesday, October 30, 2012

Does GWT translate thrown Exception to Javascript errors?

Hi all!

I have a small question. I've discussed some issues with SmartGWT developer and he stated that thrown Java exception do not become an (uncaught) JavaScript error.

Is this statement correct?

If a do 

throw new RuntimeException("throw me!");

at the client side, doesn't GWT compiler transform it into javascript error? 

Where can i read more about it, can't find any info.

Thx.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/AVCfTVFTMeMJ.
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