Making invalid type conversion exception message more helpful