-
public interface LoaderError
An error that occurred during loading. Errors are only handled when they were caused byDataAccessException
's.IOException
's and other problems will abort loading fatally.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataAccessException
exception()
The underlyingDataAccessException
that caused the error.Query
query()
The query whose execution failed.String[]
row()
The row data that caused the error.int
rowIndex()
The processed row index starting with0
that caused the error.
-
-
-
Method Detail
-
exception
DataAccessException exception()
The underlyingDataAccessException
that caused the error.
-
rowIndex
int rowIndex()
The processed row index starting with0
that caused the error.If queries were executed in batch mode, this will be the row index of the last row added to the batch.
-
row
String[] row()
The row data that caused the error.If queries were executed in batch mode, this will be the last row added to the batch.
-
query
Query query()
The query whose execution failed.
-
-