org.apache.nutch.protocol
Class ResourceMoved

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

public class ResourceMoved
extends IOException

Thrown when a resource 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 © 2006 The Apache Software Foundation