public void writeParameter(String paramType, String paramName, ICellStyle cellStyle) { if (StringUtils.isBlank(paramType) || StringUtils.isBlank(paramName)) { throw new IllegalArgumentException("Parameter type and name must be not empty"); } if (getTableRegion() == null) { throw new IllegalStateException("beginTable() has to be called"); } writeCell(0, getCurrentRow(), 1, 1, paramType, cellStyle); writeCell(1, getCurrentRow(), 1, 1, paramName, cellStyle); incCurrentRow(); }