<commit_before>package com.polidea.rxandroidble.exceptions;

public class BleGattException extends BleException {

    public static final int UNKNOWN_STATUS = -1;
    public static final int CHARACTERISTIC_NOT_FOUND = 1;
    private final int status;

    private final BleGattOperationType bleGattOperationType;

    public BleGattException(int status, BleGattOperationType bleGattOperationType) {
        this.status = status;
        this.bleGattOperationType = bleGattOperationType;
    }

    public BleGattException(BleGattOperationType bleGattOperationType) {
        this(UNKNOWN_STATUS, bleGattOperationType);
    }

    public BleGattOperationType getBleGattOperationType() {
        return bleGattOperationType;
    }

    public int getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return getClass().getSimpleName() + '{' +
                "status=" + status +<commit_msg>Removed characteristic not found constant.<commit_after>package com.polidea.rxandroidble.exceptions;

public class BleGattException extends BleException {

    public static final int UNKNOWN_STATUS = -1;
    private final int status;

    private final BleGattOperationType bleGattOperationType;

    public BleGattException(int status, BleGattOperationType bleGattOperationType) {
        this.status = status;
        this.bleGattOperationType = bleGattOperationType;
    }

    public BleGattException(BleGattOperationType bleGattOperationType) {
        this(UNKNOWN_STATUS, bleGattOperationType);
    }

    public BleGattOperationType getBleGattOperationType() {
        return bleGattOperationType;
    }

    public int getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return getClass().getSimpleName() + '{' +
                "status=" + status +
{'fraction_non_alphanumeric': 0.06804572672836146, 'fraction_numerical': 0.001633097441480675, 'mean_word_length': 3.386634844868735, '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': '6991363', 'n_tokens_mistral': 529, 'n_tokens_neox': 498, 'n_words': 116}