throw a useful exception when people try to sanitize an object