throw exception when missing language