polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [1/3] zest-java git commit: Better error message when unable to set property value in JSONEntityState
Date Sun, 18 Sep 2016 23:08:07 GMT
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 <paulmerlin@apache.org>
Authored: Sun Sep 18 15:39:15 2016 -0700
Committer: Paul Merlin <paulmerlin@apache.org>
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 );
         }
     }
 


Mime
View raw message