Owen Nichols created GEODE-7024:
-----------------------------------
Summary: CMS Java API on locator and client should have similar
error handling
Key: GEODE-7024
URL: https://issues.apache.org/jira/browse/GEODE-7024
Project: Geode
Issue Type: Improvement
Components: management
Reporter: Owen Nichols
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, LocatorClusterManagementService should be changed
to catch exceptions and report them through the ClusterManagementResult for
consistency.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)