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

[jira] [Updated] (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:all-tabpanel ]

Divesh Dutta updated OFBIZ-7539:
--------------------------------
    Summary: Catch GenericEntityException or GenericServiceException instead of Exception in Java classes  (was: Catch GenericEntityException or GenericServiceException instead of Exception class in Java files)

> 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
>
> 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)