Revision 3f8622d4 src/gr/grnet/pithos/web/client/FilePropertiesDialog.java
b/src/gr/grnet/pithos/web/client/FilePropertiesDialog.java | ||
---|---|---|
183 | 183 |
@Override |
184 | 184 |
public void onError(Throwable t) { |
185 | 185 |
GWT.log("", t); |
186 |
app.setError(t); |
|
186 | 187 |
if (t instanceof RestException) { |
187 | 188 |
app.displayError("Unable to fetch versions: " + ((RestException) t).getHttpStatusText()); |
188 | 189 |
} |
... | ... | |
435 | 436 |
@Override |
436 | 437 |
public void onError(Throwable t) { |
437 | 438 |
GWT.log("", t); |
439 |
app.setError(t); |
|
438 | 440 |
app.displayError("System error modifying file:" + t.getMessage()); |
439 | 441 |
} |
440 | 442 |
|
... | ... | |
463 | 465 |
@Override |
464 | 466 |
public void onError(Throwable t) { |
465 | 467 |
GWT.log("", t); |
468 |
app.setError(t); |
|
466 | 469 |
app.displayError("System error modifying file:" + t.getMessage()); |
467 | 470 |
} |
468 | 471 |
|
Also available in: Unified diff