KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > matuschek > spider > DefaultRobotExceptionHandler


1 package net.matuschek.spider;
2
3 import java.net.URL JavaDoc;
4
5
6 /**
7  * DefaultRobotExceptionHandler
8  * This is a concrete ExceptionHandler, which is used as default exception handler
9  * <p>
10  * @author cn
11  * @version 0.1
12  */

13 public class DefaultRobotExceptionHandler implements 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 JavaDoc url, Exception JavaDoc e) {
20         // do nothing
21
}
22
23 }
24
Popular Tags