You should use ``InvalidaArgumentException`` instead of ``Exception`` IMO