jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edgarp...@apache.org
Subject svn commit: r279477 - /incubator/jackrabbit/trunk/contrib/jcr-ext/src/java/org/apache/jackrabbit/session/SessionHelper.java
Date Thu, 08 Sep 2005 00:34:55 GMT
Author: edgarpoce
Date: Wed Sep  7 17:34:37 2005
New Revision: 279477

URL: http://svn.apache.org/viewcvs?rev=279477&view=rev
Log:
JCR-211 - jcr ext doesn't compile with jdk 1.4

Modified:
    incubator/jackrabbit/trunk/contrib/jcr-ext/src/java/org/apache/jackrabbit/session/SessionHelper.java

Modified: incubator/jackrabbit/trunk/contrib/jcr-ext/src/java/org/apache/jackrabbit/session/SessionHelper.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-ext/src/java/org/apache/jackrabbit/session/SessionHelper.java?rev=279477&r1=279476&r2=279477&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-ext/src/java/org/apache/jackrabbit/session/SessionHelper.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-ext/src/java/org/apache/jackrabbit/session/SessionHelper.java
Wed Sep  7 17:34:37 2005
@@ -61,7 +61,7 @@
                 return name.getLocalPart();
             }
         } catch (NamespaceException e) {
-            throw new IllegalStateException("Expected namespace not found", e);
+            throw new IllegalStateException("Expected namespace not found. " + e.getMessage());
         } catch (RepositoryException e) {
             throw new RuntimeException("Unexpected repository error", e);
         }
@@ -102,7 +102,7 @@
             return
                 session.getWorkspace().getNodeTypeManager().getNodeType(name);
         } catch (NoSuchNodeTypeException e) {
-            throw new IllegalStateException("Expected node type not found", e);
+            throw new IllegalStateException("Expected node type not found" + e.getMessage());
         } catch (RepositoryException e) {
             throw new RuntimeException("Unexpected repository error", e);
         }



Mime
View raw message