Revision 3f8622d4 src/gr/grnet/pithos/web/client/othersharedtree/OtherSharedTreeViewModel.java
b/src/gr/grnet/pithos/web/client/othersharedtree/OtherSharedTreeViewModel.java | ||
---|---|---|
216 | 216 |
@Override |
217 | 217 |
public void onError(Throwable t) { |
218 | 218 |
GWT.log("Error getting folder", t); |
219 |
app.setError(t); |
|
219 | 220 |
if (t instanceof RestException) |
220 | 221 |
app.displayError("Error getting folder: " + ((RestException) t).getHttpStatusText()); |
221 | 222 |
else |
... | ... | |
292 | 293 |
@Override |
293 | 294 |
public void onError(Throwable t) { |
294 | 295 |
GWT.log("Error getting account", t); |
296 |
app.setError(t); |
|
295 | 297 |
if (t instanceof RestException) |
296 | 298 |
app.displayError("Error getting account: " + ((RestException) t).getHttpStatusText()); |
297 | 299 |
else |
... | ... | |
328 | 330 |
@Override |
329 | 331 |
public void onError(Throwable t) { |
330 | 332 |
GWT.log("Error getting account", t); |
333 |
app.setError(t); |
|
331 | 334 |
if (t instanceof RestException) |
332 | 335 |
app.displayError("Error getting account: " + ((RestException) t).getHttpStatusText()); |
333 | 336 |
else |
... | ... | |
374 | 377 |
@Override |
375 | 378 |
public void onError(Throwable t) { |
376 | 379 |
GWT.log("Error getting folder", t); |
380 |
app.setError(t); |
|
377 | 381 |
if (t instanceof RestException) |
378 | 382 |
app.displayError("Error getting folder: " + ((RestException) t).getHttpStatusText()); |
379 | 383 |
else |
... | ... | |
425 | 429 |
@Override |
426 | 430 |
public void onError(Throwable t) { |
427 | 431 |
GWT.log("Error getting folder", t); |
432 |
app.setError(t); |
|
428 | 433 |
if (t instanceof RestException) |
429 | 434 |
app.displayError("Error getting folder: " + ((RestException) t).getHttpStatusText()); |
430 | 435 |
else |
Also available in: Unified diff