Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Re: Per-control-flow II.

Matthew,

Thank you for suggestions.

Pavel

----- Original Message -----
From: "Matthew Webster" <matthew_webster@xxxxxxxxxx>
To: <aspectj-users@xxxxxxxxxxx>
Sent: Tuesday, June 01, 2004 6:41 AM
Subject: [aspectj-users] Re: Per-control-flow II.


>
>
>
>
> Pavel,
>
> Your aspect will certainly enable the logging of exceptions. However the
> use of "around()" advice will have the side effect of swallowing the
> exception which you may not want to do in all cases e.g.
> NullPointerException. I suggest using either "after() throwing(..)" advice
> or be more selective in the exceptions you swallow.
>
> Matthew Webster
> AOSD Project
> Java Technology Centre, MP146
> IBM Hursley Park, Winchester,  SO21 2JN, England
> Telephone: +44 196 2816139 (external) 246139 (internal)
> Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
> http://w3.hursley.ibm.com/~websterm/
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top