I'd use `RuntimeException` or `DomainException` here -- `$this->format` is not an argument to the method, which makes `InvalidArgumentException` confusing.