Type Assert.throws.