ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Gadaley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-7539) Catch GenericEntityException and GenericServiceException and other instead of Exception in Java classes
Date Sat, 05 Nov 2016 06:38:58 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-7539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Amit Gadaley updated OFBIZ-7539:
--------------------------------
    Description: 
There are many places in Java code when services are called or entity operations are performed,
but GenericEntityException and GenericServiceException and other exceptions are not handled,
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. 

  was:
There are many places in Java code when services are called or entity operations are performed,
but GenericEntityException and GenericServiceException and other are not handled, 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. 


> Catch GenericEntityException and GenericServiceException and other 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 and other exceptions are
not handled, 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)

Mime
View raw message