Quoting Leo Simons <[EMAIL PROTECTED]>: > proposal: > For 4.0 of the framework code, CascadingException > is updated to extend RuntimeException, and new exceptions > are created for all lifecycle methods except run(), stop() > and dispose().
+1 > So: > contextualize() throws ContextualizationException > init() throws InitializationException > etc. > > For: > - existing code has already proven the exceptions are > neccessary. We need to add them. > - making use of RuntimeException means that existing code > will be able to compile and run if the exceptions are > not actually thrown. > - since the lifecycle exceptions are indeed (almost > always) runtime exceptions, this setup is also > correct. > > Against: > - a significant body of existing code that uses avalon will > have to be updated to work with the new release (OTOH, it > will be a lot more work to change this later). > - does Cocoon2 have the time to update to this before the > beta? (if not, I propose the same change for 4.1) We must have the time to do it :) (even if I had to do it myself) I think it completes the framework and thus needs to go into the beta for the framework. Giacomo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
