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

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.