01: package net.matuschek.spider;
02:
03: import java.net.URL;
04:
05: /**
06: * DefaultRobotExceptionHandler
07: * This is a concrete ExceptionHandler, which is used as default exception handler
08: * <p>
09: * @author cn
10: * @version 0.1
11: */
12: public class DefaultRobotExceptionHandler implements
13: RobotExceptionHandler {
14:
15: /**
16: * This exception handler ignores the exception and does nothing
17: * @see RobotExceptionHandler#handleException(WebRobot, URL, Exception)
18: */
19: public void handleException(WebRobot robot, URL url, Exception e) {
20: // do nothing
21: }
22:
23: }
|