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:24:57 UTC

[jira] [Created] (OFBIZ-7539) Catch GenericEntityException or GenericServiceException instead of Exception class in Java files

Divesh Dutta created OFBIZ-7539:
-----------------------------------

             Summary: Catch GenericEntityException or GenericServiceException instead of Exception class in Java files
                 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)