diff options
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/com/sun/star/help/HelpIndexer.java | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/xmlhelp/source/com/sun/star/help/HelpIndexer.java b/xmlhelp/source/com/sun/star/help/HelpIndexer.java index 500c59cb2bf4..eabcabc5a1a0 100644 --- a/xmlhelp/source/com/sun/star/help/HelpIndexer.java +++ b/xmlhelp/source/com/sun/star/help/HelpIndexer.java @@ -2,9 +2,9 @@ * * $RCSfile: HelpIndexer.java,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: rt $ $Date: 2005-03-30 08:37:15 $ + * last change: $Author: hr $ $Date: 2005-04-06 14:04:56 $ * * The Contents of this file are made available subject to tUhe terms of * either of the following licenses @@ -616,7 +616,15 @@ public class HelpIndexer { _processor.parse(_in); _out.flush(); } - } catch (Exception e) { + } catch ( SAXParseException e ){ + e.printStackTrace(); + System.err.println("url: " + url); + System.err.println(e.getMessage()); + System.err.println("Line: "+e.getLineNumber()+" Column: "+e.getColumnNumber()+" public ID: "+e.getPublicId()+" System ID: "+e.getSystemId() ); + System.exit(1); + + } + catch (Exception e) { e.printStackTrace(); System.err.println("url: " + url); System.err.println(e.getMessage()); |