@FunctionalInterface public interface ErrorHandler
DEFAULT
, which just rethrows any exceptions
encountered.Modifier and Type | Interface and Description |
---|---|
static interface |
ErrorHandler.Location
Provides location information for an error.
|
Modifier and Type | Field and Description |
---|---|
static ErrorHandler |
DEFAULT
default error handler used if none provided (just rethrows exception)
|
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.
|
static final ErrorHandler DEFAULT
Object handleRowError(Column column, byte[] columnData, ErrorHandler.Location location, Exception error) throws IOException
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.