You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2016/06/22 13:27:58 UTC

[jira] [Commented] (OFBIZ-7539) Catch GenericEntityException or GenericServiceException instead of Exception in Java classes

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

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

+1

> Catch GenericEntityException or GenericServiceException instead of Exception in Java classes
> --------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7539
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7539
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Upcoming Branch
>            Reporter: Divesh Dutta
>            Assignee: Divesh Dutta
>
> There are many places in Java code when services are called or entity operations are performed, but GenericEntityException and GenericEntityException are not handled and instead higher level Exception is handled. Its best practice to handle detailed level exceptions. 
> This is parent ticket, i will create child tickets for each component. 



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