Index: src/java/org/apache/jackrabbit/session/SessionHelper.java =================================================================== --- src/java/org/apache/jackrabbit/session/SessionHelper.java (revision 279308) +++ src/java/org/apache/jackrabbit/session/SessionHelper.java (working copy) @@ -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); }