exception type to expect, Exception by default
expression that is expected to throw during evaluation
if 'true', accepts only exact exception type, disallowing polymorphic conversion
file of origin
line of origin
TestException if nothing has been thrown from expr Propagates any thrown exception which is not E In strict mode (default) also propagates any children of E (disables polymorphic catching)
Verifies that given expression throws exception instance of expected type.