Re: [aspectwerkz-devel] Re: Throwing a checked Exception
Jonas "Bon?r" <[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.user,gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Michael. Sorry for not getting back to you earlier. Things have been very hectic on my side. Thanks for finding the problem yourself. It is of course a bug. This should NOT be the behaviour. I'll fix this in the next following days, at the latest on monday. Thanks. /Jonas --- Michael Nascimento Santos <[email protected]> wrote: > Just found DefaultAdviceContainerStrategy is to blame in my case. It is the > class wrapping checked exceptions. Is this really the intended behaviour? Or > is it a bug? > > Regards, > Michael > > ----- Original Message ----- > From: "Michael Nascimento Santos" <[email protected]> > To: <[email protected]> > Sent: Saturday, February 14, 2004 1:51 AM > Subject: Re: [aspectwerkz-user] Throwing a checked Exception > > > > Hi folks, > > > > I managed to do it by implementing my own JoinPointController. However, I > > don't like the way it's now since I had to give up using self-defined > > aspects and now have to extend an AroundAdvice and do all the xml > > configuration. > > > > Isn't there an easy way to achieve what I originally wanted? Do I really > > have to implement my own JoinPointController (of course I extended > > DefaultJoinPointController, but even so...)? Do I have to abandon model 2 > > completely? > > > > []s > > Michael > > > > ----- Original Message ----- > > From: "Michael Nascimento Santos" <[email protected]> > > To: <[email protected]> > > Sent: Thursday, February 12, 2004 6:27 PM > > Subject: [aspectwerkz-user] Throwing a checked Exception > > > > > > > Hi guys, > > > > > > I've written an around advice that might decide to throw a checked > > exception > > > that is declared in the signature of the method being advised. However, > > when > > > it throws it, I get a WrappedRuntimeException in my code! I need to get > > the > > > original exception, provided it was part of the original method > signature. > > > How can I do that? This is crucial to what I am trying to do. > > > > > > Regards, > > > Michael > > > _______________________________________________ > > > aspectwerkz-user mailing list > > > [email protected] > > > http://lists.codehaus.org/mailman/listinfo/aspectwerkz-user > > > > > _______________________________________________ > > aspectwerkz-user mailing list > > [email protected] > > http://lists.codehaus.org/mailman/listinfo/aspectwerkz-user > > > _______________________________________________ > aspectwerkz-devel mailing list > [email protected] > http://lists.codehaus.org/mailman/listinfo/aspectwerkz-devel ===== Jonas http://blogs.codehaus.org/people/jboner/ __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html