Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ajdt-dev] access to the method which contains the handler?

Is there any way to have access to the target and arguments of the method which contains an exception handler? (given that the joinpoint is on the handler)

In other words, I want to be able to write something like this:

before(Exception ex, User u1, int id):((withincode (* User.deleteAccount(int))) && target(u1) && args(id)) && ((handler(Exception) && args(ex)))) {
        }

thanks in advance


Never miss a thing. Make Yahoo your homepage.

Back to the top