You are here: com.dtsearch.engine Package > Interfaces > DataSource2 Class > DataSource2.wasDocError Method
Close
dtSearch Engine API for Java
DataSource2.wasDocError Method

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.

Syntax
Java
public boolean wasDocError();
Copyright (c) 1998-2021 dtSearch Corp. All rights reserved.