<commit_before>package com.aemreunal.exception;

/*
 ***************************
 * Copyright (c) 2014      *
 *                         *
 * This code belongs to:   *
 *                         *
 * @author <NAME> *
 * S001974                 *
 *                         *
 * <EMAIL>     *
 * <EMAIL>    *
 *                         *
 * aemreunal.com           *
 ***************************
 */
public class MalformedRequestException extends NullPointerException {

    public MalformedRequestException() {
        super("Your request is malformed. Please try again.");
    }
}
<commit_msg>Add exception throwing performance comment<commit_after>package com.aemreunal.exception;

/*
 ***************************
 * Copyright (c) 2014      *
 *                         *
 * This code belongs to:   *
 *                         *
 * @author <NAME> *
 * S001974                 *
 *                         *
 * <EMAIL>     *
 * <EMAIL>    *
 *                         *
 * aemreunal.com           *
 ***************************
 */
public class MalformedRequestException /*extends Throwable*/ extends RuntimeException {

    // http://normanmaurer.me/blog/2013/11/09/The-hidden-performance-costs-of-instantiating-Throwables/
//    public MalformedRequestException() {
//        super("Your request is malformed. Please try again.", null, true, false);
//    }

    public MalformedRequestException() {
        super("Your request is malformed. Please try again.");
    }
}

{'fraction_non_alphanumeric': 0.1776271186440678, 'fraction_numerical': 0.018983050847457626, 'mean_word_length': 1.738404452690167, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5832427', 'n_tokens_mistral': 414, 'n_tokens_neox': 375, 'n_words': 77}