Fixed: Fix Default or Empty Catch block in Java and Groovy files

(OFBIZ-8341)

While reviewing r1812057 I spotted a bunch of swallowed ClassCastExceptions

I then reviewed all ClassCastExceptions and this fixes all of them with a 
minimal logging

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815797 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2017-11-20 12:32:44 +00:00
parent 3933ba15c0
commit c1a11e83ae
5 changed files with 43 additions and 9 deletions
@@ -445,7 +445,7 @@ public class FindServices {
list = it.getPartialList(start+1, viewSize); // list starts at '1'
listSize = it.getResultsSizeAfterPartialList();
} catch (ClassCastException | NullPointerException | GenericEntityException e) {
Debug.logInfo("Problem getting partial list" + e,module);
Debug.logInfo("Problem getting partial list" + e, module);
}
result.put("listSize", listSize);