Revision 3f8622d4 src/gr/grnet/pithos/web/client/commands/EmptyTrashCommand.java
b/src/gr/grnet/pithos/web/client/commands/EmptyTrashCommand.java | ||
---|---|---|
124 | 124 |
@Override |
125 | 125 |
public void onError(Throwable t) { |
126 | 126 |
GWT.log("", t); |
127 |
app.setError(t); |
|
127 | 128 |
if (t instanceof RestException) { |
128 | 129 |
app.displayError("Unable to delete file:" + ((RestException) t).getHttpStatusText()); |
129 | 130 |
} |
... | ... | |
147 | 148 |
@Override |
148 | 149 |
public void onError(Throwable t) { |
149 | 150 |
GWT.log("", t); |
151 |
app.setError(t); |
|
150 | 152 |
if (t instanceof RestException) { |
151 | 153 |
app.displayError("Unable to get folder: " + ((RestException) t).getHttpStatusText()); |
152 | 154 |
} |
... | ... | |
182 | 184 |
@Override |
183 | 185 |
public void onError(Throwable t) { |
184 | 186 |
GWT.log("", t); |
187 |
app.setError(t); |
|
185 | 188 |
if (t instanceof RestException) { |
186 | 189 |
app.displayError("Unable to delete file:" + ((RestException) t).getHttpStatusText()); |
187 | 190 |
} |
Also available in: Unified diff