The behavior you want is called "filtering by reference type", and will=20=
be implemented in either version 0.5 or version 0.6.
Paul
On Dec 26, 2003, at 2:26 AM, Doron Rajwan wrote:
> I want to prevent everyone from catchingAssertionError.
>
> =A0
>
> The problem is, that each:
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 assert a > b;
>
> Is actually:
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 If (!(a>b))
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0 throw new =
AssertionError();
>
> So, everyone uses AssertionError.
>
> =A0
>
> Thus, my question is:can you add a filter that will match only =93catch=94=
=20
> usage, and nothing else? =A0I do not care if they throw it, create it,=20=
> take it, copy it, store it in variables, and so. I just do not want=20
> anyone to catch Errors / Throwables and so.
>
> =A0
>
> Thanks,
>
> =A0 Doron.
>
> =A0
>
> =A0
>
> _______________________________________________
>
> Doron Rajwan,do...@ra...,www.rajwan.org
>
> 13 Odem street,Rishon Le-Zion,Israel
>
> Home:=A0=A0 03-9512348=A0 [+972-(3)-9512348]
>
> Cell:=A0=A0 064-887732=A0 [+972-(64)-887732]
>
> =A0
|