<commit_before>package org.intermine.webservice.server.exceptions;

/*
 * Copyright (C) 2002-2014 FlyMine
 *
 * This code may be freely distributed and modified under the
 * terms of the GNU Lesser General Public Licence.  This should
 * be distributed with the code.  See the LICENSE file for more
 * information or http://www.gnu.org/copyleft/lesser.html.
 *
 */

import org.intermine.webservice.server.output.Output;

/**
 * The BadRequestException is thrown by service when there is a problem with the request.
 *
 * @author <NAME>
 */
public class BadRequestException extends ServiceException
{

    private static final long serialVersionUID = 1L;

    /**
     * 404 - BAD REQUEST
     *
     * @param message message
     */
    public BadRequestException(String message) {
        super(message);
        initErrorCode();
    }

    /**
     * 404 - BAD REQUEST
     *
     * @param message message
     * @param cause cause<commit_msg>Wrong status code.<commit_after>package org.intermine.webservice.server.exceptions;

/*
 * Copyright (C) 2002-2014 FlyMine
 *
 * This code may be freely distributed and modified under the
 * terms of the GNU Lesser General Public Licence.  This should
 * be distributed with the code.  See the LICENSE file for more
 * information or http://www.gnu.org/copyleft/lesser.html.
 *
 */

import org.intermine.webservice.server.output.Output;

/**
 * The BadRequestException is thrown by service when there is a problem with the request.
 *
 * @author <NAME>
 */
public class BadRequestException extends ServiceException
{

    private static final long serialVersionUID = 1L;

    /**
     * 400 - BAD REQUEST
     *
     * @param message message
     */
    public BadRequestException(String message) {
        super(message);
        initErrorCode();
    }

    /**
     * 404 - BAD REQUEST
     *
     * @param message message
     * @param cause cause
{'fraction_non_alphanumeric': 0.0891820580474934, 'fraction_numerical': 0.0158311345646438, 'mean_word_length': 2.8536585365853657, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3877513', 'n_tokens_mistral': 560, 'n_tokens_neox': 521, 'n_words': 179}