Thursday, December 1, 2011

Issue with Custom exception in Production mode

I have defined custom exception  extending from Exception class. On server I throws this custom exception with some message.
My RPC call also has this exception  as part of service call signature. In development mode when I show this message  in "onFailaure()" method of RPC call on client,
I see proper message. But in production (after compilation)  , on client I see 500 error instead of message.

Any idea could be the reason and how to resolve this?

Thanks ,

Nagin kothari

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