jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r495527 - /jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/URIResolverImpl.java
Date Fri, 12 Jan 2007 09:25:01 GMT
Author: angela
Date: Fri Jan 12 01:25:01 2007
New Revision: 495527

URL: http://svn.apache.org/viewvc?view=rev&rev=495527
Log:
work in progress

- catch NameException instead of BaseException

Modified:
    jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/URIResolverImpl.java

Modified: jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/URIResolverImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/URIResolverImpl.java?view=diff&rev=495527&r1=495526&r2=495527
==============================================================================
--- jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/URIResolverImpl.java
(original)
+++ jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/URIResolverImpl.java
Fri Jan 12 01:25:01 2007
@@ -45,7 +45,6 @@
 import org.apache.jackrabbit.webdav.DavConstants;
 import org.apache.jackrabbit.webdav.xml.DomUtil;
 import org.apache.jackrabbit.webdav.version.report.ReportInfo;
-import org.apache.jackrabbit.BaseException;
 import org.apache.commons.httpclient.URI;
 import org.w3c.dom.Document;
 
@@ -218,7 +217,7 @@
 
             cache.add(response.getHref(), propertyId);
             return propertyId;
-        } catch (BaseException e) {
+        } catch (NameException e) {
             throw new RepositoryException(e);
         }
     }



Mime
View raw message