@fabpot but `\InvalidArgumentException` might actually work, as it is a subclass of `\LogicException`