DEFAULT, which just rethrows any exceptions encountered.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | ErrorHandler.
Provides location information for an error. |
| Modifier and Type | Field and Description |
|---|---|
| public static final ErrorHandler | DEFAULT
default error handler used if none provided (just rethrows exception) |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: replacement for this row's columnthe info for the column being read column, byte[] the actual column data for the column being read (which may be columnData, ErrorHandler.null depending on when
the exception was thrown during the reading process)the current location of the error location,the error that was encountered error)Handles an error encountered while reading a column of data from a Table row. |
| DEFAULT | back to summary |
|---|---|
| public static final ErrorHandler DEFAULT default error handler used if none provided (just rethrows exception) | |
| handleRowError | back to summary |
|---|---|
| public Object handleRowError(Column column, byte[] columnData, ErrorHandler. Handles an error encountered while reading a column of data from a Table row. Handler may either throw an exception (which will be propagated back to the caller) or return a replacement for this row's column value (in which case the row will continue to be read normally).
| |
| Modifier and Type | Method and Description |
|---|---|
| public Table | Returns: the table in which the error occurredReturns the table in which the error occurred. |
| public String |
| getTable | back to summary |
|---|---|
| public Table getTable() Returns the table in which the error occurred.
| |
| toString | back to summary |
|---|---|
| public String toString() Contains details about the errored row, useful for debugging.
| |