java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.nutch.protocol.ProtocolException
org.supermind.crawl.http.HttpException
org.supermind.crawl.http.HttpError
public class HttpError
Thrown for HTTP error codes.
Constructor Summary | |
---|---|
HttpError(int code)
|
Method Summary | |
---|---|
int |
getCode(int code)
|
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 |
---|
public HttpError(int code)
Method Detail |
---|
public int getCode(int code)