cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <coc...@leverageweb.com>
Subject Re: [HELP]Language Exception
Date Tue, 22 Jul 2003 17:38:22 GMT
Nicolas Spilman wrote:
...
> // start error (lines 67-67) "Default constructor cannot handle exception
> type ParameterException thrown by implicit super constructor. Must define an
> explicit constructor"
>   String letter = parameters.getParameter("letter");
> 
> // end error

I think this is just because parameters.getParameter(String) throws an 
exception which you are not catching.  An alternative is to use the 
version with a default parameters.getParameter(String, String) which 
does not throw the exception.

Why it gave the specific exception you see I don't quite know.

Geoff


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


Mime
View raw message