Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7024

CMS Java API on locator and client should have similar error handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • management
    • None

    Description

      The two implementations of ClusterManagementService should behave similarly in how errors are handled. Currently calls to ClientClusterManagementService return a ClusterManagementResult bearing the status of the call, while calls to LocatorClusterManagementService are declared to return the same status wrapper, but in fact may often throw a Java exception instead.

      The goal is to be able to code to the ClusterManagementService interface. Therefore to be consistent, ClientClusterManagementService should be changed to raise error statuses as Java exceptions, just as a Java developer would expect.

      Attachments

        Issue Links

          Activity

            People

              jinmeiliao Jinmei Liao
              onichols Owen Nichols
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 20m
                  3h 20m