Add use's for Exception

Without the use an error is raised while trying to raise the Exception, this makes them impossible to catch.