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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: management
    • Labels:
      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

              • Assignee:
                onichols-pivotal Owen Nichols
                Reporter:
                onichols-pivotal 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