public class DebugErrorHandler extends ReplacementErrorHandler
ReplacementErrorHandler
.ErrorHandler.Location
DEFAULT
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
ErrorHandler
handleRowError
in interface ErrorHandler
handleRowError
in class ReplacementErrorHandler
column
- 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 encounteredIOException
Copyright © 2005–2024 OpenHMS. All rights reserved.