public void processDocument( HWPFDocumentCore wordDocument )
{
- final SummaryInformation summaryInformation = wordDocument
- .getSummaryInformation();
- if ( summaryInformation != null )
+ try
+ {
+ final SummaryInformation summaryInformation = wordDocument
+ .getSummaryInformation();
+ if ( summaryInformation != null )
+ {
+ processDocumentInformation( summaryInformation );
+ }
+ }
+ catch ( Exception exc )
{
- processDocumentInformation( summaryInformation );
+ logger.log( POILogger.WARN,
+ "Unable to process document summary information: ", exc,
+ exc );
}
final Range docRange = wordDocument.getRange();