use of org.dbflute.exception.DfXlsReaderReadFailureException in project dbflute-core by dbflute.
the class DfTableXlsReader method throwLargeDataInvalidManagedDataException.
protected void throwLargeDataInvalidManagedDataException(String sheetName, String columnTitle, DfDataRow row, String value) {
final ExceptionMessageBuilder br = new ExceptionMessageBuilder();
br.addNotice("Invalid managed large data.");
br.addItem("Advice");
br.addElement("It should be key" + LDATA_KEY_DELIMITER + "{value}");
br.addElement(" e.g. foo" + LDATA_KEY_DELIMITER + "{bar}");
br.addItem("Xls File");
br.addElement(_xlsFile);
br.addItem("Sheet Name");
br.addElement(sheetName);
br.addItem("Column Title");
br.addElement(columnTitle);
br.addItem("Row Number");
br.addElement(row.getRowNumber());
br.addItem("Large Data");
br.addElement(value);
final String msg = br.buildExceptionMessage();
throw new DfXlsReaderReadFailureException(msg);
}
Aggregations