elefevre/shrinkwrap — comment on commit 9d1a95d6afb8796673bf9d0ce18af939dcb6c03f
File:  line 0
By ALRubinger:

Cleaner, but more incorrect. The explicit catch blocks test that IllegalArgumentException is received in only that scope, not anywhere else in the method. By catching IAE at in @Test we could get false positives on test execution if IAE is received from another line than the one intended to be tested.