[jira] [Created] (OFBIZ-7539) Catch GenericEntityException or GenericServiceException instead of Exception class 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] [Created] (OFBIZ-7539) Catch GenericEntityException or GenericServiceException instead of Exception class in Java files

Nicolas Malin (Jira)
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)