Fixed Final and Lock error
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-open-widget@100244 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1220c8af3f
commit
85d7932dde
|
@ -4,7 +4,6 @@
|
||||||
package org.gcube.portlets.user.td.openwidget.client;
|
package org.gcube.portlets.user.td.openwidget.client;
|
||||||
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTIsFinalException;
|
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTIsLockedException;
|
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTIsLockedException;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException;
|
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException;
|
||||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.TabResource;
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.TabResource;
|
||||||
|
@ -160,19 +159,14 @@ public class TabResourcesSelectionCard extends WizardCard {
|
||||||
UtilsGXT3.alert("Error Locked",
|
UtilsGXT3.alert("Error Locked",
|
||||||
caught.getLocalizedMessage());
|
caught.getLocalizedMessage());
|
||||||
} else {
|
} else {
|
||||||
if (caught instanceof TDGWTIsFinalException) {
|
Log.error("Error on delete TabResource: "
|
||||||
Log.error(caught.getLocalizedMessage());
|
+ caught.getLocalizedMessage());
|
||||||
UtilsGXT3.alert("Error Final",
|
UtilsGXT3.alert(
|
||||||
caught.getLocalizedMessage());
|
"Error",
|
||||||
} else {
|
"Error on delete TabResource: "
|
||||||
Log.error("Error on delete TabResource: "
|
+ caught.getLocalizedMessage());
|
||||||
+ caught.getLocalizedMessage());
|
|
||||||
UtilsGXT3.alert(
|
|
||||||
"Error",
|
|
||||||
"Error on delete TabResource: "
|
|
||||||
+ caught.getLocalizedMessage());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue