Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7539

Catch GenericEntityException and GenericServiceException and other instead of Exception in Java classes

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 16.11.01
    • Fix Version/s: 16.11.01
    • Component/s: ALL COMPONENTS
    • Labels:
      None

      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.

        Attachments

        There are no Sub-Tasks for this issue.

          Activity

            People

            • Assignee:
              arunpati Arun Patidar
              Reporter:
              diveshdut Divesh Dutta
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: