ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh Vijaywargiya (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OFBIZ-8341) Improve Default or Empty Catch block in Java files
Date Mon, 03 Oct 2016 14:07:21 GMT
Harsh Vijaywargiya created OFBIZ-8341:
-----------------------------------------

             Summary: Improve Default or Empty Catch block in Java files
                 Key: OFBIZ-8341
                 URL: https://issues.apache.org/jira/browse/OFBIZ-8341
             Project: OFBiz
          Issue Type: Task
          Components: ALL COMPONENTS
            Reporter: Harsh Vijaywargiya
            Priority: Minor
             Fix For: Upcoming Branch


In many Java files we have auto generated catch blocks or empty catch blocks. 
To avoid such exception swallowing this should be improved to at least log the error and also
return error in case of service.
As of now I found following classes with such patterns - 

InventoryServices.java
FreeMarkerWorker.java
QRCodeEvents.java
QRCodeServices.java



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message