Thursday, October 31, 2013

Re: GWT RPC AsyncCallBack is always failing persistently.

You would probably already know whats the reason if you would just print out the exception like you do on the server.

Change

public void onFailure(Throwable caught) {
  Hi.setText("You fail!");
}

to

public void onFailure(Throwable caught) {
  caught.printStackTrace();
  Hi.setText("You fail!");
}

and take a look in your Eclipse console!

-- J.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment