summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-04-06 13:04:56 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-04-06 13:04:56 +0000
commit1204f57177def21fff8dffb6052c563fd48947de (patch)
tree8cb2650986950d1213457e195f2f1879c977413f /xmlhelp
parent028692d4a8294afb7d432429cc4406197e82b123 (diff)
INTEGRATION: CWS so8betaloc (1.12.18); FILE MERGED
2005/03/03 19:56:12 ihi 1.12.18.1: Additional context error output
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/com/sun/star/help/HelpIndexer.java14
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());