jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r739336 - /jackrabbit/sandbox/spi/spi2davex/src/main/java/org/apache/jackrabbit/spi/spi2davex/RepositoryServiceImpl.java
Date Fri, 30 Jan 2009 17:06:37 GMT
Author: angela
Date: Fri Jan 30 17:06:36 2009
New Revision: 739336

URL: http://svn.apache.org/viewvc?rev=739336&view=rev
Log:
- JCR-1958: Enhanced JCR remoting (work in progress)

Modified:
    jackrabbit/sandbox/spi/spi2davex/src/main/java/org/apache/jackrabbit/spi/spi2davex/RepositoryServiceImpl.java

Modified: jackrabbit/sandbox/spi/spi2davex/src/main/java/org/apache/jackrabbit/spi/spi2davex/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/spi/spi2davex/src/main/java/org/apache/jackrabbit/spi/spi2davex/RepositoryServiceImpl.java?rev=739336&r1=739335&r2=739336&view=diff
==============================================================================
--- jackrabbit/sandbox/spi/spi2davex/src/main/java/org/apache/jackrabbit/spi/spi2davex/RepositoryServiceImpl.java
(original)
+++ jackrabbit/sandbox/spi/spi2davex/src/main/java/org/apache/jackrabbit/spi/spi2davex/RepositoryServiceImpl.java
Fri Jan 30 17:06:36 2009
@@ -281,10 +281,7 @@
             throw ExceptionConverter.generate(new DavException(method.getStatusCode(), "Unable
to retrieve NodeInfo for " + uri));
         } catch (IOException e) {
             log.error("Internal error while retrieving NodeInfo.",e);
-            throw new RepositoryException(e);
-        } catch (Exception e) {
-            log.error("Internal error while retrieving NodeInfo.",e);
-            throw new RepositoryException(e);
+            throw new RepositoryException(e.getMessage());
         } finally {
             method.releaseConnection();
         }



Mime
View raw message