[ https://issues.apache.org/jira/browse/OFBIZ-7539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15344614#comment-15344614 ]
Pierre Smits 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 > GenericServiceException 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)