Skip to content
Snippets Groups Projects
Commit cfa7878b authored by gpawel's avatar gpawel
Browse files

LMS-2462 fixed dependencies

SVN: 22716
parent 9e33c139
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ public class ExcelRowTokenizer implements ILineTokenizer<Row>
{
}
public String[] tokenize(Row row) throws ParsingException
public String[] tokenize(Row row) throws ParserException
{
return tokenizeRow(row);
}
......@@ -48,7 +48,7 @@ public class ExcelRowTokenizer implements ILineTokenizer<Row>
return line;
}
private static String extractCellValue(Cell cell) throws ParsingException
private static String extractCellValue(Cell cell) throws ParserException
{
switch (cell.getCellType())
{
......@@ -65,13 +65,9 @@ public class ExcelRowTokenizer implements ILineTokenizer<Row>
"Excel formulas are not supported but one was found in cell "
+ extractCellPosition(cell));
case Cell.CELL_TYPE_ERROR:
throw new ParsingException(new String[]
{ "There is an error in cell " + extractCellPosition(cell) },
cell.getRowIndex());
throw new ParserException("There is an error in cell " + extractCellPosition(cell));
default:
throw new ParsingException(new String[]
{ "Unknown data type of cell " + extractCellPosition(cell) },
cell.getRowIndex());
throw new ParserException("Unknown data type of cell " + extractCellPosition(cell));
}
}
......
......@@ -34,7 +34,7 @@ public interface ILineTokenizer<T>
public void init();
/** Splits given <code>line</code> into an array of tokens. */
public String[] tokenize(T line) throws ParsingException;
public String[] tokenize(T line) throws ParserException;
/**
* Cleans up resources used by this <code>ILineTokenizer</code>.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment