That is true, yes. You could use a cflow to 'wormhole' them through, but that would be very costly - and I think one aim of aspects that are for error handling is not to disturb performance of the code when errors aren't happening. If you attempted to grab the params you would need to grab them every time that method ran just-in-case the exception handling aspect fired, and you don't want to do that.
cheers, Andy On 11 December 2011 01:35, Mark <[email protected]> wrote: > Which means I cannot get the arguments of the method, since the enclosing > part is static, can I? > > > -- > View this message in context: > http://aspectj.2085585.n4.nabble.com/How-to-deduce-the-method-owning-the-catch-statement-referred-by-the-handler-join-point-tp4181004p4182370.html > Sent from the AspectJ - users mailing list archive at Nabble.com. > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
