Re: [abc-users] SoftException

From: Eric Bodden <>
Date: Wed, 11 Mar 2009 09:59:45 -0400

Hi Hossein.

I think you must be missing something. I doubt that both compilers are
doing something wrong there. Can you email a simple test case for us
to look at?


2009/3/10 <>:
> Hi,
> Are checked exceptions still wrapped in a SoftException, when thrown at a
> softened join point?
> In a simple example, I softened the "Exception" on a pointcut and caught the
> thrown checked exception (IOException in this case). As far as I remember,
> SoftException is supposed to be thrown when a checked exception occurs at a
> softened join point; not only I could not catch any SoftException, but I
> also could directly catch IOException and others. So, have things changed in
> newer AspectJ versions, or am I missing something?
> I tested this with abc 1.3.0 as well as AJDT 1.6. 3., and got the same
> behaviour.
> Thanks in advance.
> --Hossein

Eric Bodden
Sable Research Group, McGill University
Montréal, Québec, Canada
Received on Wed Mar 11 2009 - 13:59:50 GMT

This archive was generated by hypermail 2.2.0 : Wed Mar 11 2009 - 16:10:12 GMT