jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r370153 - /incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java
Date Wed, 18 Jan 2006 14:53:41 GMT
Author: stefan
Date: Wed Jan 18 06:53:37 2006
New Revision: 370153

URL: http://svn.apache.org/viewcvs?rev=370153&view=rev
Log:
fixed incorrect exception msg

Modified:
    incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java

Modified: incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java?rev=370153&r1=370152&r2=370153&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java
(original)
+++ incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java
Wed Jan 18 06:53:37 2006
@@ -735,7 +735,7 @@
                 if (e instanceof NoSuchItemStateException) {
                     throw (NoSuchItemStateException) e;
                 }
-                String msg = "failed to read references: " + targetId;
+                String msg = "failed to read node references: " + targetId;
                 log.error(msg, e);
                 throw new ItemStateException(msg, e);
             } finally {
@@ -781,7 +781,7 @@
             // there's no need to close a ByteArrayOutputStream
             //out.close();
         } catch (Exception e) {
-            String msg = "failed to write property state: " + refs.getTargetId();
+            String msg = "failed to write node references: " + refs.getTargetId();
             log.error(msg, e);
             throw new ItemStateException(msg, e);
         } finally {
@@ -803,7 +803,7 @@
             stmt.setString(1, refs.getTargetId().toString());
             stmt.executeUpdate();
         } catch (Exception e) {
-            String msg = "failed to delete references: " + refs.getTargetId();
+            String msg = "failed to delete node references: " + refs.getTargetId();
             log.error(msg, e);
             throw new ItemStateException(msg, e);
         } finally {



Mime
View raw message