private void handleAsyncCallback(final Response<Object> response, final Callback<Object> handler) {
        if (response.wasErrors()) {
            handler.onError(new Exception(response.body().toString()));
        } else {
            handler.accept(response.body());
        }
    }
private void handleAsyncCallback(final Response<Object> response, final Callback<Object> handler) {
        if (response.wasErrors()) {
            handler.onError(new Exception(response.body().toString()));
        } else {
            handler.accept(response.body());
        }
    }
private void handleAsyncCallback ( final Response < Object > response , final Callback < Object > handler ) { if ( response . wasErrors ( ) ) { handler . onError ( new Exception ( response . body ( ) . toString ( ) ) ) ; } else { handler . accept ( response . body ( ) ) ; } }
Handles an async callbackWithTimeout.
Handles an async callbackWithTimeout .