Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] Modifying method signature

Hello everyone
 i'm quite new to aop-aspectj, so please be kind :-)
I'd like to add exception handling to a given method (see code below)

aspect A{
    public void InterDeclaration.doNothing() throws Exception{};
}
public class InterDeclaration{
    public void doNothing(){};
}

and i get an error because doNothing() is already declared in the base code.
So, how can I obtain the same behaviour (if possible)?

thanks,
Valerio


Back to the top