throw new DocumentException(throwable);
}
if (officeProgressMonitor != null)
officeProgressMonitor.beginSubTask(Messages.getString("DocumentService_monitor_investigating")); //$NON-NLS-1$
IDocument document = DocumentLoader.getDocument(xComponent, serviceProvider, properties);
if (document != null) {
if (officeProgressMonitor != null) {
officeProgressMonitor.beginSubTask(Messages.getString("DocumentService_monitor_loading_completed")); //$NON-NLS-1$
officeProgressMonitor.done();
}