Revision 3f8622d4 src/gr/grnet/pithos/web/client/FolderPropertiesDialog.java

b/src/gr/grnet/pithos/web/client/FolderPropertiesDialog.java
301 301
            @Override
302 302
            public void onError(Throwable t) {
303 303
				GWT.log("", t);
304
				app.setError(t);
304 305
				if (t instanceof RestException) {
305 306
					app.displayError("Unable to create folder:" + ((RestException) t).getHttpStatusText());
306 307
				}
......
360 361
                @Override
361 362
                public void onError(Throwable t) {
362 363
                    GWT.log("", t);
364
					app.setError(t);
363 365
                    if(t instanceof RestException){
364 366
                        app.displayError("Unable to update folder: " + ((RestException) t).getHttpStatusText());
365 367
                    }
......
393 395
                @Override
394 396
                public void onError(Throwable t) {
395 397
                    GWT.log("", t);
398
					app.setError(t);
396 399
                    if (t instanceof RestException) {
397 400
                    	if (((RestException) t).getHttpStatusCode() == Response.SC_NOT_FOUND) { //Probably a virtual folder
398 401
                            final String path1 = folder.getUri();
......
405 408
                                @Override
406 409
                                public void onError(Throwable _t) {
407 410
                                    GWT.log("", _t);
411
            						app.setError(_t);
408 412
                                    if(_t instanceof RestException){
409 413
                                        app.displayError("Unable to update folder: " + ((RestException) _t).getHttpStatusText());
410 414
                                    }

Also available in: Unified diff