created the exceptions and their messages