Author: kwright
Date: Wed Nov 21 00:56:33 2012
New Revision: 1411969
URL: http://svn.apache.org/viewvc?rev=1411969&view=rev
Log:
Expect abort to be called in a finally block, even if there is an exception.
Modified:
manifoldcf/branches/CONNECTORS-120/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/ThrottledFetcher.java
Modified:
manifoldcf/branches/CONNECTORS-120/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/ThrottledFetcher.java
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-120/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/ThrottledFetcher.java?rev=1411969&r1=1411968&r2=1411969&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-120/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/ThrottledFetcher.java
(original)
+++
manifoldcf/branches/CONNECTORS-120/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/ThrottledFetcher.java
Wed Nov 21 00:56:33 2012
@@ -1412,9 +1412,6 @@ public class ThrottledFetcher
{
synchronized (this)
{
- if (responseException != null)
- throw new IllegalStateException("Check for response before
aborting stream");
- checkException(streamException);
if (threadCreated)
{
if (threadStream != null)