Use ENSURE_THROW instead of explicit code.