Updated: more precise exception message