@Override
	public void createPriceStep(double startPrice, double endPrice,
			double fixedPrice, double variablePricePercent)
			throws RemoteException {
		if (startPrice < 0 || endPrice < 0 || fixedPrice < 0
				|| variablePricePercent < 0)
			throw new RemoteException(
					"One of the specified values is negative!");
		if (startPrice >= endPrice)
			throw new RemoteException("Min has to be lower than max!");

		PriceStep newPs = new PriceStep(startPrice, endPrice, fixedPrice,
				variablePricePercent);

		for (PriceStep ps : priceSteps) {
			if (ps.overlaps(newPs)) {
				throw new RemoteException(
						"The price step specified overlaps with another price step: "
								+ ps.getInterval());
			}
		}

		priceSteps.add(newPs);

	}