Re: RES: RES: RES: Possible incubation?

2009-04-10 Thread Gaurav Arora
think that attach handlers with specific exception types >> could >> be a problem when you have a method that throws exceptions of different >> kinds. I don't think that it could be specified (in a elegant way) in >> annotations. Maybe it preferable to let it more gen

Re: RES: RES: Possible incubation?

2009-04-08 Thread Gaurav Arora
gt; I believe that the strategy of rethrowing an exception or not must be > accomplished by the caller method, and exceptions inside the handler must > be > tackled there. Maybe a (new) parameter could specify what to do. > > What do you think? > > Andre > > > > --

Re: RES: Possible incubation?

2009-04-08 Thread Gaurav Arora
I just want to take the discussion towards converting compile time weaving to load time weaving for a second here. Please feel free to correct me if I have gone off the wrong path here. My idea is to simply have something like this: 1. apply throws advice on every method which has the annotation 2.