String targetURI = baseURI + "/start_html";
Droid<Link> droid = DroidsFactory.createSimpleExceptionCrawlingDroid(targetURI);
TaskMaster<Link> taskMaster = (TaskMaster<Link>) droid.getTaskMaster();
taskMaster.setExceptionHandler(new TaskExceptionHandler() {
public TaskExceptionResult handleException(Exception ex) {
if (ex instanceof RuntimeException) {
return TaskExceptionResult.FATAL;
}