cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: [VOTE] Make ProcessingException extend CascadingRuntimeException
Date Fri, 16 Apr 2004 14:26:04 GMT
Ugo Cei wrote:
...
>> And for the specific case of ProcessingExceptions: Does not almost 
>> every of our
>> components have the ProcessingException in its throws clause? So where 
>> is the
>> need for catching/wrapping/rethrowing them?? Only current bad usage is 
>> not a reason for changing it IMO.
> 
> The compiler forces you to catch them.

It does because it's part of the contract. We can agree that the current 
contract is bad, but this does not mean that it must be thus completely 
removed.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Mime
View raw message