class IndexVersionException extends IndexCheckException {

    private static final long serialVersionUID = 5693446916108385595L;

    private final int luceneIndexVersion;
    private final int indexVersion;

    public IndexVersionException(String message, Path path, int luceneIndexVersion, int indexVersion) {
        super(message, path);
        this.indexVersion = indexVersion;
        this.luceneIndexVersion = luceneIndexVersion;
    }

    @Override
    public String toString() {<FILL_FUNCTION_BODY>}
}

        return getMessage() + ": " + String.format("Lucene version = %d", luceneIndexVersion) + ", " +
                String.format("index version = %d", indexVersion);
    
<methods>public void <init>(java.lang.String, java.nio.file.Path) ,public void <init>(java.lang.String, Set<java.nio.file.Path>) ,public void <init>(java.lang.Exception) ,public Set<java.nio.file.Path> getFailedPaths() <variables>private final Set<java.nio.file.Path> failedPaths,private static final long serialVersionUID