I'm using the customary gwt-rpc described here: http://www.gwtproject.org/doc/latest/DevGuideServerCommunication.html#DevGuideRemoteProcedureCalls
At some point a 302 redirect may occur (out of my control) which results in: onFailure(Throwable caught) As it turns out, this will be an InvocationException which contains "0" as the result of caught.getMessage(). I suspect this is the Same Origin Policy violation, since the redirect is to a different site for logon purposes. However The same thing will happen if the network is down, server is down, etc. >From my searching it seems that somehow I cannot tell that the 302 redirect is taking place because it is under control of the browser itself. But is it possible to distinguish a Same Origin Policy violation from something like a simple network outage? Within the onFailure() callback? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
