private void validate() throws RrdException {
		if(dsName == null || dsName.length() == 0) {
			throw new RrdException("Invalid datasource name specified");
		}
		if(!isValidDsType(dsType)) {
			throw new RrdException("Invalid datasource type specified: " + dsType);
		}
		if(heartbeat <= 0) {
			throw new RrdException("Invalid heartbeat, must be positive: " + heartbeat);
		}
		if(!Double.isNaN(minValue) && !Double.isNaN(maxValue) && minValue >= maxValue) {
			throw new RrdException("Invalid min/max values specified: " +
				minValue + "/" + maxValue);
		}
	}