Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadEpochPanel.java @ 8712:582e970115b6
(issue1448) Localize SedimentLoadInfo Exceptions shown in the client
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 24 Apr 2015 17:18:48 +0200 |
parents | ba2a34a4e440 |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
8711:02162b60cf9c | 8712:582e970115b6 |
---|---|
299 | 299 |
300 sedLoadInfoService.getSedimentLoadInfo(locale, river, "single", km[0], km[1], sq_ti_id, | 300 sedLoadInfoService.getSedimentLoadInfo(locale, river, "single", km[0], km[1], sq_ti_id, |
301 new AsyncCallback<SedimentLoadInfoObject[]>() { | 301 new AsyncCallback<SedimentLoadInfoObject[]>() { |
302 public void onFailure(Throwable caught) { | 302 public void onFailure(Throwable caught) { |
303 GWT.log("Could not recieve sediment load informations."); | 303 GWT.log("Could not recieve sediment load informations."); |
304 SC.warn(caught.getMessage()); | 304 SC.warn(MSG.getString(caught.getMessage())); |
305 } | 305 } |
306 | 306 |
307 public void onSuccess(SedimentLoadInfoObject[] sedLoad) { | 307 public void onSuccess(SedimentLoadInfoObject[] sedLoad) { |
308 int num = sedLoad != null ? sedLoad.length :0; | 308 int num = sedLoad != null ? sedLoad.length :0; |
309 GWT.log("Recieved " + num + " sediment load informations."); | 309 GWT.log("Recieved " + num + " sediment load informations."); |