Jinmei Liao created GEODE-7718:
----------------------------------

             Summary: CMS java client API raises exception in failure makes it 
harder for user to use
                 Key: GEODE-7718
                 URL: https://issues.apache.org/jira/browse/GEODE-7718
             Project: Geode
          Issue Type: Improvement
          Components: management
            Reporter: Jinmei Liao


Currently, client code needs to do:

ClusterManagementResult result;
try{
 result = cms.create(config);
}
catch (ClusterManagementException e) {
  // do error handling
}

would be nice user doesn't have to do try catch.
ClusterManagementResult result = cms.create(config)
if (!result.isSuccessful) {
  // do error handling
}






--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to