throwing a string works, but is discouraged