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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 16.11.01
    • 16.11.01
    • ALL COMPONENTS
    • 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

        1.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of accounting component Sub-task Closed Arun Patidar Actions
        2.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of content component Sub-task Closed Arun Patidar Actions
        3.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of manufacturing component Sub-task Closed Arun Patidar Actions
        4.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of order component Sub-task Closed Arun Patidar Actions
        5.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of party component Sub-task Closed Arun Patidar Actions
        6.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of product component Sub-task Closed Arun Patidar Actions
        7.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of workeffort component Sub-task Closed Arun Patidar Actions
        8.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of framework component Sub-task Closed Arun Patidar Actions
        9.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of framework/webtools component Sub-task Closed Arun Patidar Actions
        10.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of specialpurpose/birt component Sub-task Closed Arun Patidar Actions
        11.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of specialpurpose/ebay component Sub-task Closed Arun Patidar Actions
        12.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of specialpurpose/ebaystore component Sub-task Closed Arun Patidar Actions
        13.
        Catch GenericEntityException and GenericServiceException and other exceptions instead of Exception in Java classes of specialpurpose/solr component Sub-task Closed Arun Patidar Actions

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment