try {
long lastModified = delegate.lastModified();
return (lastModified > 0L) ? (lastModified >= time) : true;
} catch (IOException e) {
detectGeneralErrors(e);
throw new RepositoryDocumentException(
"Failed to get last modified time for " + getPath(), e);
}
}