public InformationLine(String[] line, Headline headline) throws EndOfCSVFileException, BrokenCSVFileException {
		if (line == null) {
			throw new EndOfCSVFileException("CSV File completely parsed");
		}
		if (headline == null) {
			throw new BrokenCSVFileException("The given headline was null");
		}
		
		if (line.length -1 != headline.getCount()) {
			throw new BrokenCSVFileException("Could not create information line because line length<" + line.length + ">was less than headline length<" + headline.getCount() + ">");
		}
		//-1 because last element is "empty"
		for (int i = 0; i < line.length - 1; i++) {
			map.put(headline.get(i), line[i]);
		}
	}