package bg.car_wash.areas.service.exception;

/**
 * Created by ivanof on 17.04.17.
 */
public class ServiceNotUpdateException extends RuntimeException {
	private String message;

	private int code;

	public ServiceNotUpdateException(String message, int code) {
		this.setMessage(message);
		this.setCode(code);
	}

	@Override
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}
}

create ServiceNotUpdateException