Issue with Custom exception in Production mode

2011-12-01 Thread Nagin Kothari
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Issue with Custom exception in Production mode

2011-12-01 Thread Jens
Take a look at your server log if there are some warnings or even 
exceptions regarding serialization problems. A 500 error can be anything, 
so you have to find the reason in your server logs.

-- 
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/-/Ixxkghy9OdsJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.