cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r594521 - in /cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms: binding/library/LibraryManagerImpl.java formmodel/library/LibraryManagerImpl.java
Date Tue, 13 Nov 2007 13:06:33 GMT
Author: felixk
Date: Tue Nov 13 05:06:32 2007
New Revision: 594521

URL: http://svn.apache.org/viewvc?rev=594521&view=rev
Log:
Don't catch RuntimeException, otherwise hardcoded deprecation of org/apache/cocoon/forms/binding/CustomJXPathBindingBuilder.java
isn't shown anywhere.

Modified:
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/binding/library/LibraryManagerImpl.java
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/library/LibraryManagerImpl.java

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/binding/library/LibraryManagerImpl.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/binding/library/LibraryManagerImpl.java?rev=594521&r1=594520&r2=594521&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/binding/library/LibraryManagerImpl.java
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/binding/library/LibraryManagerImpl.java
Tue Nov 13 05:06:32 2007
@@ -131,6 +131,8 @@
                     lib.buildLibrary(doc.getDocumentElement());
 
                     this.cacheManager.set(lib,source,PREFIX);
+                } catch (RuntimeException re) {
+                    throw new RuntimeException(re);
                 } catch (Exception e) {
                     throw new LibraryException("Unable to load library.",
                                                e, new LocationImpl("[LibraryManager]", source.getURI()));

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/library/LibraryManagerImpl.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/library/LibraryManagerImpl.java?rev=594521&r1=594520&r2=594521&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/library/LibraryManagerImpl.java
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/library/LibraryManagerImpl.java
Tue Nov 13 05:06:32 2007
@@ -125,6 +125,8 @@
                     lib.buildLibrary(doc.getDocumentElement());
 
                     this.cacheManager.set(lib, source, PREFIX);
+                } catch (RuntimeException re) {
+                    throw new RuntimeException(re);
                 } catch (Exception e) {
                     throw new LibraryException("Unable to load library.",
                                                e, new LocationImpl("[LibraryManager]", source.getURI()));



Mime
View raw message