<commit_before>/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License;
 * you may not use this file except in compliance with the Elastic License.
 */
package org.elasticsearch.shield;

import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.common.collect.Tuple;

/**
 *
 */
public class ShieldException extends ElasticsearchException.WithRestHeaders {

    public ShieldException(String msg, Tuple... headers) {
        super(msg, headers);
    }

    public ShieldException(String msg, Throwable cause, Tuple... headers) {
        super(msg, headers);
        initCause(cause);
    }
}<commit_msg>fix compile error due to a rename in core<commit_after>/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License;
 * you may not use this file except in compliance with the Elastic License.
 */
package org.elasticsearch.shield;

import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.common.collect.Tuple;

/**
 *
 */
public class ShieldException extends ElasticsearchException.WithRestHeadersException {

    public ShieldException(String msg, Tuple... headers) {
        super(msg, headers);
    }

    public ShieldException(String msg, Throwable cause, Tuple... headers) {
        super(msg, headers);
        initCause(cause);
    }
}
{'fraction_non_alphanumeric': 0.08888888888888889, 'fraction_numerical': 0.0, 'mean_word_length': 3.809061488673139, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4821634', 'n_tokens_mistral': 391, 'n_tokens_neox': 386, 'n_words': 132}