net.nutch.protocol
Class ResourceMoved

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bynet.nutch.protocol.ResourceMoved
All Implemented Interfaces:
Serializable

public class ResourceMoved
extends IOException

Thrown by Protocol.getContent(String) when a URL no longer exists.

See Also:
Serialized Form

Constructor Summary
ResourceMoved(URL oldUrl, URL newUrl, String message)
           
 
Method Summary
 URL getNewUrl()
           
 URL getOldUrl()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceMoved

public ResourceMoved(URL oldUrl,
                     URL newUrl,
                     String message)
Method Detail

getNewUrl

public URL getNewUrl()

getOldUrl

public URL getOldUrl()


Copyright © 2004 The Nutch Organization.