<commit_before>package com.emc.rest.smart;

public class SmartClientException extends RuntimeException {

    private ErrorType errorType = ErrorType.Unknown;

    public SmartClientException(String message) {
        super(message);
    }

    public SmartClientException(String message, Throwable cause) {
        super(message, cause);
    }
    public ErrorType getErrorType() {
        return errorType;
    }

    public void setErrorType(ErrorType errorType) {
        this.errorType = errorType;
    }

    public enum ErrorType {
        Client, // 4xx
        Service, // 5xx
        Unknown
    }

    public boolean isServerError() {
        return this.getErrorType().equals(SmartClientException.ErrorType.Service);
    }

}<commit_msg>Update SmartClientException.java<commit_after>package com.emc.rest.smart;

public class SmartClientException extends RuntimeException {

    private ErrorType errorType = ErrorType.Unknown;

    public SmartClientException(String message) {
        super(message);
    }

    public SmartClientException(String message, Throwable cause) {
        super(message, cause);
    }
    public ErrorType getErrorType() {
        return errorType;
    }

    public void setErrorType(ErrorType errorType) {
        this.errorType = errorType;
    }

    public boolean isServerError() {
        return this.getErrorType().equals(SmartClientException.ErrorType.Service);
    }
    
    public enum ErrorType {
        Client, // 4xx
        Service, // 5xx
        Unknown
    }

}
{'fraction_non_alphanumeric': 0.08086785009861933, 'fraction_numerical': 0.0026298487836949377, 'mean_word_length': 2.7395577395577395, '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': '5398559', 'n_tokens_mistral': 419, 'n_tokens_neox': 398, 'n_words': 93}