cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <>
Subject Re: [RT] Checked exceptions considered harmful
Date Thu, 15 Apr 2004 05:59:26 GMT
Le 14 avr. 04, à 20:00, Leon Widdershoven a écrit :
> ...I don't think throws Exception in all declarations is a plus; a 
> function which operates on files could have an IOException, a function 
> which operates on numbers a NumberException
> or something akin; in essence, the root of the expected Exception 
> hierarchy (for interfaces and abstratc classes)....

I like the idea, similar to what Berin suggests: using base exceptions 
which tell us what the problem is about, without being too specific.


View raw message