cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <pro...@managingpartners.com>
Subject [patch] ComposerGenerator.compose to throw ComponentException
Date Thu, 07 Jun 2001 14:08:53 GMT
I made mention of this earlier, but here is a patch to fix it. When the 
ComposerGenerator implements the Compose interface, it is not throwing a 
ComponentException as indicated by the interface.

Congrads on the beta, team!
-pete

Index: src/org/apache/cocoon/components/language/markup/xsp/XSPGenerator.java
===================================================================
RCS file: 
/home/cvspublic/xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/XSPGenerator.java,v
retrieving revision 1.2
diff -r1.2 XSPGenerator.java
10a11
 > import org.apache.avalon.framework.component.ComponentException;
40c41
<   public void compose(ComponentManager manager) {
---
 >   public void compose(ComponentManager manager) throws ComponentException {

Index: src/org/apache/cocoon/generation/ComposerGenerator.java
===================================================================
RCS file: 
/home/cvspublic/xml-cocoon2/src/org/apache/cocoon/generation/ComposerGenerator.java,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 ComposerGenerator.java
10a11
 > import org.apache.avalon.framework.component.ComponentException;
11a13
 >
30c32
<     public void compose(ComponentManager manager) {
---
 >     public void compose(ComponentManager manager) throws 
ComponentException {
Index: src/org/apache/cocoon/generation/FileGenerator.java
===================================================================
RCS file: 
/home/cvspublic/xml-cocoon2/src/org/apache/cocoon/generation/FileGenerator.java,v
retrieving revision 1.9
diff -r1.9 FileGenerator.java
53c53
<     public void compose(ComponentManager manager) {
---
 >     public void compose(ComponentManager manager) throws 
ComponentException {
Index: src/org/apache/cocoon/generation/ServerPagesGenerator.java
===================================================================
RCS file: 
/home/cvspublic/xml-cocoon2/src/org/apache/cocoon/generation/ServerPagesGenerator.java,v
retrieving revision 1.7
diff -r1.7 ServerPagesGenerator.java
18a19
 > import org.apache.avalon.framework.component.ComponentException;
72c73
<   public void compose(ComponentManager manager) {
---
 >   public void compose(ComponentManager manager) throws ComponentException {


-- 
peter royal -> proyal@managingpartners.com
managing partners, inc. -> http://www.managingpartners.com


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message