jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r164899 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/WorkspaceImporter.java
Date Tue, 26 Apr 2005 22:07:08 GMT
Author: stefan
Date: Tue Apr 26 15:07:08 2005
New Revision: 164899

URL: http://svn.apache.org/viewcvs?rev=164899&view=rev
Log:
cleaned up inconsistent throwing of IllegalStateException in UpdatableItemStateManager methods

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

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/WorkspaceImporter.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/WorkspaceImporter.java?rev=164899&r1=164898&r2=164899&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/WorkspaceImporter.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/WorkspaceImporter.java
Tue Apr 26 15:07:08 2005
@@ -628,7 +628,7 @@
         try {
             // start update operation
             stateMgr.edit();
-        } catch (ItemStateException ise) {
+        } catch (IllegalStateException ise) {
             aborted = true;
             String msg = "internal error: failed to start update operation";
             log.debug(msg);



Mime
View raw message