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:
parent
1176464f8a
commit
358c98db4c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue