def METHOD_NAME(exception, details):
    msg = '%s in "%s"' % (
        details,
        combo_string[:count] +
        '[' + token + ']' +
        combo_string[count+len(token):],
    )
    raise exception(msg)