Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A0B95200CD8 for ; Wed, 2 Aug 2017 22:08:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9EA89167F46; Wed, 2 Aug 2017 20:08:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DC131167F3D for ; Wed, 2 Aug 2017 22:08:52 +0200 (CEST) Received: (qmail 53413 invoked by uid 500); 2 Aug 2017 20:08:47 -0000 Mailing-List: contact dev-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list dev@geode.apache.org Received: (qmail 53402 invoked by uid 99); 2 Aug 2017 20:08:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2017 20:08:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E5D53E00C5; Wed, 2 Aug 2017 20:08:45 +0000 (UTC) From: pdxrunner To: dev@geode.apache.org Reply-To: dev@geode.apache.org References: In-Reply-To: Subject: [GitHub] geode pull request #651: GEODE-3230: Cleaning up unused (Cli)Strings Content-Type: text/plain Message-Id: <20170802200845.E5D53E00C5@git1-us-west.apache.org> Date: Wed, 2 Aug 2017 20:08:45 +0000 (UTC) archived-at: Wed, 02 Aug 2017 20:08:53 -0000 Github user pdxrunner commented on a diff in the pull request: https://github.com/apache/geode/pull/651#discussion_r130982335 --- Diff: geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/DataCommandFunction.java --- @@ -633,8 +631,8 @@ public DataCommandResult put(String key, String value, boolean putIfAbsent, Stri try { keyObject = getClassObject(key, keyClass); } catch (ClassNotFoundException e) { - return DataCommandResult.createPutResult(key, null, null, - "ClassNotFoundException " + keyClass, false); + return DataCommandResult.createPutResult(key, null, e.getException(), --- End diff -- I don't understand the context of this change - the message was "ClassNotFound" but now it's "key not found" with a key class? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---