Added better error handling in GWT AJAXConnection.