Partial implementation of ThrowingSpecification.