[jira] [Commented] (OFBIZ-8341) Fix Default or Empty Catch block in Java files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-8341) Fix Default or Empty Catch block in Java files

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-8341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944542#comment-15944542 ]

Jacques Le Roux commented on OFBIZ-8341:
----------------------------------------

Fixed some in revisions: 1787911, 1787910, 1787909, 1787908, 1787906, 1789043

I'll not backport any

> Fix Default or Empty Catch block in Java files
> ----------------------------------------------
>
>                 Key: OFBIZ-8341
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8341
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>            Reporter: Harsh Vijaywargiya
>            Assignee: Jacques Le Roux
>             Fix For: Upcoming Release
>
>
> 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.15#6346)