public class UrlFetchException extends BaseFetchException implements org.apache.hadoop.io.WritableComparable<UrlFetchException>
Constructor and Description |
---|
UrlFetchException() |
UrlFetchException(java.lang.String url,
java.lang.String msg) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(UrlFetchException e) |
UrlStatus |
mapToUrlStatus() |
void |
readFields(java.io.DataInput input) |
void |
write(java.io.DataOutput output) |
compareToBase, getCause, getLocalizedMessage, getMessage, getUrl, readBaseFields, toString, writeBaseFields
public UrlFetchException()
public UrlFetchException(java.lang.String url, java.lang.String msg)
public UrlStatus mapToUrlStatus()
mapToUrlStatus
in class BaseFetchException
public void readFields(java.io.DataInput input) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void write(java.io.DataOutput output) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
public int compareTo(UrlFetchException e)
compareTo
in interface java.lang.Comparable<UrlFetchException>
Copyright © 2012 Bixo Labs