You are here: com.dtsearch.engine Package > Interfaces > DataSource2 Class > DataSource2.wasDocError Method
dtSearch Engine API for Java
DataSource2.wasDocError Method
public boolean wasDocError();

Each time getNextDoc() is called, wasDocError() will return true if there was an error processing the previous document, such as a file parsing error, and getDocError() will return the error message.

Copyright (c) 1998-2022 dtSearch Corp. All rights reserved.