net.sf.urlchecker.exception.handling
Class AlwaysFalse

Package class diagram package AlwaysFalse
java.lang.Object
  extended by net.sf.urlchecker.exception.handling.AlwaysFalse
All Implemented Interfaces:
Serializable, ExceptionHandler<org.apache.commons.httpclient.HttpMethod>

public class AlwaysFalse
extends Object
implements ExceptionHandler<org.apache.commons.httpclient.HttpMethod>, Serializable

The Class AlwaysFalse used as an exception handler that will always stop the retries.

$Id: AlwaysFalse.java 179 2010-12-12 18:40:24Z georgosn $

Version:
$LastChangedRevision: 179 $
Author:
$LastChangedBy: georgosn $
See Also:
Serialized Form

Constructor Summary
AlwaysFalse()
           
 
Method Summary
 boolean handle(org.apache.commons.httpclient.HttpMethod method, IOException exception, int retryCount)
          Handle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysFalse

public AlwaysFalse()
Method Detail

handle

public boolean handle(org.apache.commons.httpclient.HttpMethod method,
                      IOException exception,
                      int retryCount)
Handle.

Specified by:
handle in interface ExceptionHandler<org.apache.commons.httpclient.HttpMethod>
Parameters:
method - the method
exception - the exception
retryCount - the retry count
Returns:
true, if successful


Copyright © 2010 Nikolaos Georgosopoulos. All Rights Reserved.