cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r387801 - /cocoon/trunk/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java
Date Wed, 22 Mar 2006 08:49:17 GMT
Author: cziegeler
Date: Wed Mar 22 00:49:16 2006
New Revision: 387801

URL: http://svn.apache.org/viewcvs?rev=387801&view=rev
Log:
catch throwable

Modified:
    cocoon/trunk/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java

Modified: cocoon/trunk/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java?rev=387801&r1=387800&r2=387801&view=diff
==============================================================================
--- cocoon/trunk/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java
(original)
+++ cocoon/trunk/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java
Wed Mar 22 00:49:16 2006
@@ -18,6 +18,7 @@
 import java.util.Iterator;
 import java.util.Map;
 
+import org.apache.cocoon.ProcessingException;
 import org.apache.cocoon.components.thread.RunnableManager;
 import org.apache.cocoon.environment.CocoonRunnable;
 import org.apache.cocoon.portal.coplet.CopletData;
@@ -149,6 +150,9 @@
             } catch (Exception exception ) {
                 error = exception;
                 this.getLogger().warn("Unable to get content of coplet: " + coplet.getId(),
exception);
+            } catch (Throwable t ) {
+                error = new ProcessingException("Unable to get content of coplet: " + coplet.getId(),
t);
+                this.getLogger().warn("Unable to get content of coplet: " + coplet.getId(),
t);                
             }
 
             if ( read ) {



Mime
View raw message