Changeset 354


Ignore:
Timestamp:
04/13/10 10:47:30 (9 years ago)
Author:
sander
Message:

Catch UNO error when OOOServer cannor read the document

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/factory/src/backends/oooserver.py

    r336 r354  
    142142                except RuntimeException: 
    143143                        raise OOOServerException("UNO RuntimeException in OOOServer. The server probably died. Unloading backend.", False) 
     144                except IllegalArgumentException: 
     145                        raise OOOServerException("UNO IllegalArgument in OOOServer. Source file cannot be read.", True) 
     146 
    144147 
    145148                logging.info('OOOServer converted %s to %s' % (src_file, dst_file)) 
Note: See TracChangeset for help on using the changeset viewer.