isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmatth...@apache.org
Subject svn commit: r1044671 - /incubator/isis/trunk/alternatives/objectstore/nosql/src/main/java/org/apache/isis/alternatives/objectstore/nosql/file/JsonStateReader.java
Date Sat, 11 Dec 2010 16:00:09 GMT
Author: rmatthews
Date: Sat Dec 11 16:00:08 2010
New Revision: 1044671

URL: http://svn.apache.org/viewvc?rev=1044671&view=rev
Log:
Improve error message

Modified:
    incubator/isis/trunk/alternatives/objectstore/nosql/src/main/java/org/apache/isis/alternatives/objectstore/nosql/file/JsonStateReader.java

Modified: incubator/isis/trunk/alternatives/objectstore/nosql/src/main/java/org/apache/isis/alternatives/objectstore/nosql/file/JsonStateReader.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/alternatives/objectstore/nosql/src/main/java/org/apache/isis/alternatives/objectstore/nosql/file/JsonStateReader.java?rev=1044671&r1=1044670&r2=1044671&view=diff
==============================================================================
--- incubator/isis/trunk/alternatives/objectstore/nosql/src/main/java/org/apache/isis/alternatives/objectstore/nosql/file/JsonStateReader.java
(original)
+++ incubator/isis/trunk/alternatives/objectstore/nosql/src/main/java/org/apache/isis/alternatives/objectstore/nosql/file/JsonStateReader.java
Sat Dec 11 16:00:08 2010
@@ -39,7 +39,7 @@ public class JsonStateReader implements 
             JSONObject instance = new JSONObject(data);
             this.instance = instance;
         } catch (JSONException e) {
-            throw new NoSqlStoreException("failed initialise JSON object for text form",
e);
+            throw new NoSqlStoreException("failed initialise JSON object for text form: "
+ data, e);
         }
     }
     



Mime
View raw message