I think this needs to be \InvalidArgumentException to avoid a namespacing fatal