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 31DF2200BA8 for ; Mon, 19 Sep 2016 01:08:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3053C160AC3; Sun, 18 Sep 2016 23:08:09 +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 70C52160AD8 for ; Mon, 19 Sep 2016 01:08:08 +0200 (CEST) Received: (qmail 79560 invoked by uid 500); 18 Sep 2016 23:08:07 -0000 Mailing-List: contact commits-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list commits@zest.apache.org Received: (qmail 79543 invoked by uid 99); 18 Sep 2016 23:08:07 -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; Sun, 18 Sep 2016 23:08:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 57E5FE08E8; Sun, 18 Sep 2016 23:08:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: paulmerlin@apache.org To: commits@zest.apache.org Date: Sun, 18 Sep 2016 23:08:07 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/3] zest-java git commit: Better error message when unable to set property value in JSONEntityState archived-at: Sun, 18 Sep 2016 23:08:09 -0000 Repository: zest-java Updated Branches: refs/heads/develop 39b0b6344 -> c0752e4f0 Better error message when unable to set property value in JSONEntityState Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/e0fdede3 Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/e0fdede3 Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/e0fdede3 Branch: refs/heads/develop Commit: e0fdede3eff141c5d12dbf8e8b3a01a5cb3fb6e4 Parents: 39b0b63 Author: Paul Merlin Authored: Sun Sep 18 15:39:15 2016 -0700 Committer: Paul Merlin Committed: Sun Sep 18 15:39:15 2016 -0700 ---------------------------------------------------------------------- .../org/apache/zest/spi/entitystore/helpers/JSONEntityState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zest-java/blob/e0fdede3/core/spi/src/main/java/org/apache/zest/spi/entitystore/helpers/JSONEntityState.java ---------------------------------------------------------------------- diff --git a/core/spi/src/main/java/org/apache/zest/spi/entitystore/helpers/JSONEntityState.java b/core/spi/src/main/java/org/apache/zest/spi/entitystore/helpers/JSONEntityState.java index 93e67ee..5f351d0 100644 --- a/core/spi/src/main/java/org/apache/zest/spi/entitystore/helpers/JSONEntityState.java +++ b/core/spi/src/main/java/org/apache/zest/spi/entitystore/helpers/JSONEntityState.java @@ -159,7 +159,7 @@ public final class JSONEntityState } catch( ValueSerializationException | JSONException e ) { - throw new EntityStoreException( e ); + throw new EntityStoreException( "Unable to set property " + stateName + " value " + newValue, e ); } }