Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] detecting try blocks

Hi,

Although they could be manifested as join points, there is not
currently a join point (or pointcut) for try-entry.  For exit of a try
block you can use the handler pointcut if the block exits via
exception, but can't currently pick out if it drops into a finally
block.

If you have a good use case, you could raise an enhancement request.

Andy

On 6 February 2010 02:41, Nikolas Nehmer <nnehmer@xxxxxxxxxxxxxxxxxxxx> wrote:
> Hi there,
>
> is there any chance to "detect" that a try block was entered or left by
> using aspectj? Most likely it's not as ther was a recent paper
> proposeing a new pointcut called region pointcut. Any ideas?
>
> Best regards
> Nikolas
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top