You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that I had some time to think about it, I agree that
aop_add_after should run whatever the behaviour of the joinpoint is
aop_add_afterreturning should run when the joinpoint returns normally (no exception)
aop_add_afterthrowing should run when an exception is launched.
Thx again for your input, we'll include this in Beta 2
It would be nice to be able to declare advice only after a method throws an exception, using
aop_add_afterthrowing
. The existingaop_add_after()
would be a "superset" of this, so to speak… See http://flow3.typo3.org/documentation/guide/partiii/aspectorientedprogramming.html#after-throwing-advice for the FLOW3 documentation on that feature.The text was updated successfully, but these errors were encountered: