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