/*
 * Copyright 2018, EnMasse authors.
 * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
 */
package io.enmasse.api.common;

import javax.ws.rs.ClientErrorException;
import javax.ws.rs.core.Response;

public class UnprocessableEntityException extends ClientErrorException {

    public static final int STATUS = 422;

    public UnprocessableEntityException(String message) {
        super(message, STATUS);
    }
    
    public UnprocessableEntityException(String message, Response response) {
        super(message, response);
    }
}
