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 -> [EMAIL PROTECTED]
managing partners, inc. -> http://www.managingpartners.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to