package com.atlassian.bitbucket.rest;

import com.atlassian.bitbucket.rest.util.ResponseFactory;

import static javax.ws.rs.core.Response.Status.CONFLICT;

public class ConflictException extends ResourceException {

    private static final long serialVersionUID = -2785293148067039113L;

    public ConflictException(String message) {
        super(ResponseFactory.status(CONFLICT).entity(new RestErrors(message)));
    }
}
