exception management removed in refreshCache method in servlet

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100269 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Loredana Liccardo 2014-09-30 08:07:36 +00:00
parent 1176464f8a
commit 358c98db4c
1 changed files with 5 additions and 5 deletions

View File

@ -2289,15 +2289,15 @@ public class GWTdbManagerServiceImpl extends RemoteServiceServlet implements
}
private synchronized void refreshCache(String key) throws Exception {
try {
// try {
employeeCache.remove(key);
} catch (Exception e) {
// } catch (Exception e) {
// TODO: handle exception
// logger.error("dbmanager-> ", e);
// throw new Exception("Failure to clear the cache. " + e);
throw new Exception(
"Error in server while loading data. Exception: " + e);
}
// throw new Exception(
// "Error in server while loading data. Exception: " + e);
// }
}
private String storeResultIntoCSVFile(List<Result> result, String n)