public class DebugErrorHandler extends ReplacementErrorHandler
ReplacementErrorHandler.ErrorHandler.LocationDEFAULT| Constructor and Description |
|---|
DebugErrorHandler()
Constructs a DebugErrorHandler which replaces all errored values with
null. |
DebugErrorHandler(Object replacement)
Constructs a DebugErrorHandler which replaces all errored values with the
given Object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
handleRowError(Column column,
byte[] columnData,
ErrorHandler.Location location,
Exception error)
Handles an error encountered while reading a column of data from a Table
row.
|
public DebugErrorHandler()
null.public DebugErrorHandler(Object replacement)
public Object handleRowError(Column column, byte[] columnData, ErrorHandler.Location location, Exception error) throws 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 encounteredIOExceptionCopyright © 2005–2025 OpenHMS. All rights reserved.