Skip to content

Instantly share code, notes, and snippets.

@bgorkowy
Created July 10, 2014 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bgorkowy/9bce2143f7aefb2e32cb to your computer and use it in GitHub Desktop.
Save bgorkowy/9bce2143f7aefb2e32cb to your computer and use it in GitHub Desktop.
@Override
public void onCompleted(Exception e, JsonObject result) {
try {
if (e != null) {
throw e;
} else {
// zapis do bazy
// EventBus.post (new onSomeDataDownloadedEvent())
}
} catch (Exception ex) {
// error
Logger.debug(ex.toString());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment