public class DebugErrorHandler extends ReplacementErrorHandler
ReplacementErrorHandler.ErrorHandler.Location| Modifier and Type | Field and Description |
|---|---|
private static org.apache.commons.logging.Log |
LOG |
DEFAULT| Constructor and Description |
|---|
DebugErrorHandler()
Constructs a DebugErrorHandler which replaces all errored values with
null. |
DebugErrorHandler(java.lang.Object replacement)
Constructs a DebugErrorHandler which replaces all errored values with the
given Object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
handleRowError(Column column,
byte[] columnData,
ErrorHandler.Location location,
java.lang.Exception error)
Handles an error encountered while reading a column of data from a Table
row.
|
public DebugErrorHandler()
null.public DebugErrorHandler(java.lang.Object replacement)
public java.lang.Object handleRowError(Column column, byte[] columnData, ErrorHandler.Location location, java.lang.Exception error) throws java.io.IOException
ErrorHandlerhandleRowError in interface ErrorHandlerhandleRowError in class ReplacementErrorHandlercolumn - the info for the column being readcolumnData - the actual column data for the column being read (which
may be null depending on when the exception
was thrown during the reading process)location - the current location of the errorerror - the error that was encounteredjava.io.IOException