@FunctionalInterface public static interface FileProcessor.ErrorHandler
Modifier and Type | Method and Description |
---|---|
boolean |
errorOccurred(Throwable e,
String path,
File f)
Report an error and decide whether to continue or not.
|
boolean errorOccurred(Throwable e, String path, File f)
e
- the exceptionpath
- path to the file that the error occurred in. This includes
pathing in archives if the file is inside an archive.f
- (optional, if known) the file from which the InputStream was built,
or - if the InputStream is a file within an archive - the archive.Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.