around advice is allowed to throw any unchecked exception that it wants.

void around() throws RuntimeException : execution(* Of.something()) {

}

Around can (must) throw a checked exception if all the advised
joinpoints also throw that exception.

On Fri, Jul 24, 2009 at 6:22 AM, Wade Girard<[email protected]> wrote:
> How do I define (around) advice so that I can throw an exception?
>
>
>
> Wade Girard
> [email protected]
>
>
>
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to