Defined and used a new Exception