UserAlreadyExistsException.java

package aj.FiTracker.FiTracker.Exceptions;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(HttpStatus.CONFLICT)
public class UserAlreadyExistsException extends HttpException {

    public UserAlreadyExistsException(Exception exception) {
        super(HttpStatus.CONFLICT, exception);
    }
}