public void setCurCapacity(int curCapacity) throws CarriageException {
		if ((curCapacity <= this.maxCapacity) && (curCapacity >= 0)) {
			this.curCapacity = curCapacity;
		} else {
			throw new CarriageException(
					"Current capacity is out of range [0, " + this.maxCapacity
							+ "]");
		}
	}