[macker-user] Catching exceptions
Brought to you by:
barredijkstra,
melquiades
From: Doron R. <do...@ra...> - 2003-12-26 08:23:47
|
I want to prevent everyone from catching AssertionError. The problem is, that each: assert a > b; Is actually: If (!(a>b)) throw new AssertionError(); So, everyone uses AssertionError. Thus, my question is: can you add a filter that will match only "catch" usage, and nothing else? I do not care if they throw it, create it, take it, copy it, store it in variables, and so. I just do not want anyone to catch Errors / Throwables and so. Thanks, Doron. _______________________________________________ Doron Rajwan, do...@ra..., www.rajwan.org <http://www.rajwan.org/> 13 Odem street, Rishon Le-Zion, Israel Home: 03-9512348 [+972-(3)-9512348] Cell: 064-887732 [+972-(64)-887732] |