|
Elexis API documentationVersion 2.1.6 as of January 22 2012 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.healthmarketscience.jackcess.ReplacementErrorHandler
com.healthmarketscience.jackcess.DebugErrorHandler
public class DebugErrorHandler
Implementation of ErrorHandler which is useful for generating debug information about bad row
data (great for bug reports!). After logging a debug entry for the failed column, it will return
some sort of replacement value, see ReplacementErrorHandler.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
java.lang.Object |
handleRowError(Column column,
byte[] columnData,
Table.RowState rowState,
java.lang.Exception error)
Handles an error encountered while reading a column of data from a Table row. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebugErrorHandler()
null.
public DebugErrorHandler(java.lang.Object replacement)
| Method Detail |
|---|
public java.lang.Object handleRowError(Column column,
byte[] columnData,
Table.RowState rowState,
java.lang.Exception error)
throws java.io.IOException
ErrorHandler
handleRowError 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)rowState - the current row state for the callererror - the error that was encountered
java.io.IOException
|
Elexis API documentationVersion 2.1.6 as of January 22 2012 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||