Exception trigger if server is not working

19 views
Skip to first unread message

bognekadje

unread,
Feb 5, 2012, 3:29:30 AM2/5/12
to Google Web Toolkit
Hi everyone,
I want want to know which exception is return in following case:
- When a RPC call is launched on a server which is not working.
- When a RPC call is launched and during execution server is stopped

Thanks for your help.

Eric.

Filipe Sousa

unread,
Feb 7, 2012, 12:08:28 PM2/7/12
to google-we...@googlegroups.com
I believe you can catch StatusCodeException and check for 0 in getStatusCode() when the server is not responding or is down.

bognekadje

unread,
Feb 8, 2012, 8:07:13 AM2/8/12
to Google Web Toolkit
Thanks for reply Filipe,

I will try to catch StatusCodeException.

Thanks for all.
Reply all
Reply to author
Forward
0 new messages