public abstract class UnsafeContentTypeException
extends java.io.IOException
Constructor and Description |
---|
UnsafeContentTypeException() |
Modifier and Type | Method and Description |
---|---|
FetchException |
createFetchException(java.lang.String mime,
long expectedSize) |
java.util.List<java.lang.String> |
details()
Get additional details about the failure
|
FetchException.FetchExceptionMode |
getFetchErrorCode()
Returns the error code that a FetchException may be instantiated with
Subclasses of this exception may override this method to provide more
detailed error messages.
|
abstract java.lang.String |
getHTMLEncodedTitle()
Get the title of the error page.
|
abstract java.lang.String |
getMessage()
Get the contents of the error page.
|
abstract java.lang.String |
getRawTitle()
Get the raw title of the error page.
|
FetchException |
recreateFetchException(FetchException e,
java.lang.String mime) |
java.lang.String |
toString()
Get the title of the Exception
|
public abstract java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.util.List<java.lang.String> details()
public abstract java.lang.String getHTMLEncodedTitle()
public abstract java.lang.String getRawTitle()
public java.lang.String toString()
toString
in class java.lang.Throwable
public FetchException.FetchExceptionMode getFetchErrorCode()
public FetchException recreateFetchException(FetchException e, java.lang.String mime)
public FetchException createFetchException(java.lang.String mime, long expectedSize)