Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Stop Exceptions

You can't really stop them being thrown: you can soften them to
RuntimeExceptions, or you could write some around advice that catches
them as soon as they occur and just returns normally, but I can't say
how that will affect the behaviour of your application, you'll need to
work out what to return from the advice when the exceptions occur.

cheers,
Andy

On 19 October 2011 09:03, Leonardo Machado Moreira <lm.moreira@xxxxxxxxx> wrote:
> Hi there is there a way to avoid exceptions going on?
>
> Like, If I soft someone, how would I avoid the softExceptions being throw?
>
> Thanks
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>


Back to the top