net.sf.urlchecker.exception.handling
Class AlwaysFalse
java.lang.Object
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
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 |
AlwaysFalse
public AlwaysFalse()
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 methodexception
- the exceptionretryCount
- the retry count
- Returns:
- true, if successful
Copyright © 2010 Nikolaos Georgosopoulos. All Rights Reserved.