Revision 3f8622d4 src/gr/grnet/pithos/web/client/mysharedtree/MysharedTreeViewModel.java
b/src/gr/grnet/pithos/web/client/mysharedtree/MysharedTreeViewModel.java | ||
---|---|---|
231 | 231 |
@Override |
232 | 232 |
public void onError(Throwable t) { |
233 | 233 |
GWT.log("Error getting folder", t); |
234 |
app.setError(t); |
|
234 | 235 |
if (t instanceof RestException) |
235 | 236 |
app.displayError("Error getting folder: " + ((RestException) t).getHttpStatusText()); |
236 | 237 |
else |
... | ... | |
282 | 283 |
@Override |
283 | 284 |
public void onError(Throwable t) { |
284 | 285 |
GWT.log("Error getting folder", t); |
286 |
app.setError(t); |
|
285 | 287 |
if (t instanceof RestException) |
286 | 288 |
app.displayError("Error getting folder: " + ((RestException) t).getHttpStatusText()); |
287 | 289 |
else |
Also available in: Unified diff