1 /* Copyright (c) 2004 The Nutch Organization. All rights reserved. */2 /* Use subject to the conditions in http://www.nutch.org/LICENSE.txt. */3 4 package net.nutch.protocol;5 6 import java.io.IOException ;7 import java.net.URL ;8 9 /** Thrown by {@link Protocol#getContent(String)} when a {@link URL} should be10 * retried later.*/11 public class RetryLater extends ProtocolException {12 private URL url;13 14 public RetryLater(URL url, String message) {15 super(message);16 this.url = url;17 }18 19 public URL getUrl() { return url; }20 }21