Hi Folks,

I've made a pointcut that intercepts a constructor,:

pointcut Test(Bank uc, File f) : execution(public Bank.new(File)) && args(f)
&& this(uc);

the constructor handles an exception...but I don't know how to intercept it.
I 've tried sorrounding proceed() whit try catch but it didn't run...


    void around(Object uc, File f) throws Exception : Test(uc,f) {
        ....
    }

so what goes inside around ?

Thanks!!

jp
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to