You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jinmei Liao (Jira)" <ji...@apache.org> on 2020/01/17 17:57:00 UTC
[jira] [Updated] (GEODE-7718) CMS java client API raises exception
in failure makes it harder for user to use
[ https://issues.apache.org/jira/browse/GEODE-7718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jinmei Liao updated GEODE-7718:
-------------------------------
Labels: tech-debt technical_debt (was: )
> 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
> 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)