[ https://issues.apache.org/jira/browse/GEODE-7718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jinmei Liao deleted GEODE-7718: ------------------------------- > 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 > Reporter: Jinmei Liao > Priority: Major > Labels: tech-debt, technical_debt > > 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)