📄 defaultrobotexceptionhandler.java
字号:
package net.matuschek.spider;
import java.net.URL;
/**
* DefaultRobotExceptionHandler
* This is a concrete ExceptionHandler, which is used as default exception handler
* <p>
* @author cn
* @version 0.1
*/
public class DefaultRobotExceptionHandler implements RobotExceptionHandler {
/**
* This exception handler ignores the exception and does nothing
* @see RobotExceptionHandler#handleException(WebRobot, URL, Exception)
*/
public void handleException(WebRobot robot, URL url, Exception e) {
// do nothing
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -