phpcr/phpcr-api-tests — comment on commit 124ffd0eadf79ef385b98aeef970eb06a4d5c84b
File:  line 0
By dbu:

hm, this sounds like a serious bc break and a regression to me. i mean, everybody may extend an exception class and throw that extended class instead of the expected one. thats kind of the point of what try-catch does.
to test the api, we would now need to replace all @expectedException with try-catch-fail to make it really general...