Re: Catching RPC exceptions at client side

2010-10-12 Thread Jin
Hi Itzik, An alternative to propagating the exception is to create an object with details of the outcome of the RPC call regardless of success or an error (other than an error connecting to the server). In this object have methods to store and retrieve error codes and messages so that your

Re: Catching RPC exceptions at client side

2010-10-09 Thread George Georgovassilis
Hello Itzik, Your interface needs to speficy an Exception that extends IsSerializable, and only those exceptions should be cast from the service. Thus, if the exception you are throwing for unauthorized access extends that base exception you should get it also in the client side. On a further

Catching RPC exceptions at client side

2010-10-07 Thread Itzik Yatom
Hi, Our project uses GWT and App engine. We have a problem with catching exceptions. When we define an exception as part of method signature in our RPC asynch interface and implement it at the server, the client side catches it and everything works fine. But in other 'unusual' case we have