cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r156704 - cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/tools/service/UserrightsService.java
Date Wed, 09 Mar 2005 22:57:23 GMT
Author: antonio
Date: Wed Mar  9 14:57:22 2005
New Revision: 156704

URL: http://svn.apache.org/viewcvs?view=rev&rev=156704
Log:
Fix java 1.3 compatibility

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/tools/service/UserrightsService.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/tools/service/UserrightsService.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/tools/service/UserrightsService.java?view=diff&r1=156703&r2=156704
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/tools/service/UserrightsService.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/tools/service/UserrightsService.java
Wed Mar  9 14:57:22 2005
@@ -22,6 +22,7 @@
 import java.util.Properties;
 import java.util.StringTokenizer;
 
+import org.apache.avalon.framework.CascadingRuntimeException;
 import org.apache.cocoon.matching.helpers.WildcardHelper;
 import org.apache.cocoon.portal.profile.PortalUser;
 import org.apache.cocoon.portal.tools.helper.MultipleRoleMatcher;
@@ -121,7 +122,7 @@
                 }
             }
         } catch (IOException e) {
-            throw new RuntimeException(e);
+            throw new CascadingRuntimeException(e.getMessage(), e);
         }
     }
 
@@ -232,4 +233,4 @@
 
         return result;
     }
-}
\ No newline at end of file
+}



Mime
View raw message