[flaptor-util commit] r188 - trunk/src/com/flaptor/util

0 views
Skip to first unread message

codesite...@google.com

unread,
Jan 12, 2009, 7:00:16 PM1/12/09
to flaptor-o...@googlegroups.com
Author: jhandl
Date: Mon Jan 12 14:46:20 2009
New Revision: 188

Modified:
trunk/src/com/flaptor/util/HtmlParser.java

Log:
Demotes an HtmlParser StackOverflowError as an Exception to be handled by
the hounder HtmlParser.


Modified: trunk/src/com/flaptor/util/HtmlParser.java
==============================================================================
--- trunk/src/com/flaptor/util/HtmlParser.java (original)
+++ trunk/src/com/flaptor/util/HtmlParser.java Mon Jan 12 14:46:20 2009
@@ -336,7 +336,7 @@
htmlDoc = reader.read(document);
} catch (java.lang.StackOverflowError e) {
logger.warn("Out of stack memory trying to parse "+url);
- throw e;
+ throw new Exception(e);
}
// this 2 must be before the ignoreXPath, else an ignoreXPath
that
// includes the //TITLE will imply that the title is not
indexed

Reply all
Reply to author
Forward
0 new messages