public interface IChemObjectReaderErrorHandler
IChemObjectReader
errors.Modifier and Type | Method and Description |
---|---|
void |
handleError(String message)
Method that should react on an error message send by an
IChemObjectReader . |
void |
handleError(String message,
Exception exception)
Method that should react on an error message send by an
IChemObjectReader . |
void |
handleError(String message,
int row,
int colStart,
int colEnd)
Method that should react on an error message send by an
IChemObjectReader . |
void |
handleError(String message,
int row,
int colStart,
int colEnd,
Exception exception)
Method that should react on an error message send by an
IChemObjectReader . |
void handleError(String message)
IChemObjectReader
.message
- Error found while reading.void handleError(String message, Exception exception)
IChemObjectReader
.message
- Error found while reading.exception
- Exception thrown while reading.void handleError(String message, int row, int colStart, int colEnd)
IChemObjectReader
.message
- Error found while reading.row
- Row in the file where the error is found.colStart
- Start column in the file where the error is found.colEnd
- End column in the file where the error is found.void handleError(String message, int row, int colStart, int colEnd, Exception exception)
IChemObjectReader
.message
- Error found while reading.exception
- Exception thrown while reading.colStart
- Start column in the file where the error is found.colEnd
- End column in the file where the error is found.Copyright © 2018. All Rights Reserved.