Issue with Custom exception in Production mode

10 views
Skip to first unread message

Nagin Kothari

unread,
Dec 1, 2011, 8:12:51 AM12/1/11
to google-we...@googlegroups.com
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

Jens

unread,
Dec 1, 2011, 8:31:19 AM12/1/11
to google-we...@googlegroups.com
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.
Reply all
Reply to author
Forward
0 new messages