jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r225501 - /incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/PropertyImpl.java
Date Wed, 27 Jul 2005 12:35:00 GMT
Author: stefan
Date: Wed Jul 27 05:34:57 2005
New Revision: 225501

URL: http://svn.apache.org/viewcvs?rev=225501&view=rev
Log:
improved error reporting in PropertyImpl.getValue()

Modified:
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/PropertyImpl.java

Modified: incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/PropertyImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/PropertyImpl.java?rev=225501&r1=225500&r2=225501&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/PropertyImpl.java
(original)
+++ incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/PropertyImpl.java
Wed Jul 27 05:34:57 2005
@@ -475,8 +475,10 @@
         } catch (RepositoryException e) {
             throw e;
         } catch (Exception e) {
-            //return InternalValue.create(0).toJCRValue(session.getNamespaceResolver());
-            throw new RepositoryException("Unable to get value of " + safeGetJCRPath() +
":" + e);
+            String msg = "Internal error while retrieving value of "
+                    + safeGetJCRPath();
+            log.error(msg, e);
+            throw new RepositoryException(msg, e);
         }
     }
 



Mime
View raw message