cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/i18n XMLResourceBundleFactory.java
Date Wed, 04 Feb 2004 16:33:13 GMT
giacomo     2004/02/04 08:33:13

  Modified:    src/java/org/apache/cocoon/i18n
                        XMLResourceBundleFactory.java
  Log:
  usage of RuntimeException replaced with CascadingRuntimeException to make it compile under
JDK 1.3
  
  Revision  Changes    Path
  1.12      +3 -2      cocoon-2.1/src/java/org/apache/cocoon/i18n/XMLResourceBundleFactory.java
  
  Index: XMLResourceBundleFactory.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/i18n/XMLResourceBundleFactory.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -d -b -u -r1.11 -r1.12
  --- XMLResourceBundleFactory.java	4 Feb 2004 15:16:01 -0000	1.11
  +++ XMLResourceBundleFactory.java	4 Feb 2004 16:33:13 -0000	1.12
  @@ -56,6 +56,7 @@
   import java.util.Locale;
   import java.util.Map;
   
  +import org.apache.avalon.framework.CascadingRuntimeException;
   import org.apache.avalon.framework.activity.Disposable;
   import org.apache.avalon.framework.component.Component;
   import org.apache.avalon.framework.component.ComponentException;
  @@ -400,7 +401,7 @@
                   }
                   this.resolver.release(src);
               } catch(IOException ioe) {
  -                throw new RuntimeException("Cannot resolve " + base, ioe);
  +                throw new CascadingRuntimeException("Cannot resolve " + base, ioe);
               }
           }
           
  
  
  

Mime
View raw message