public class UnknownContentTypeException extends UnsafeContentTypeException
Constructor and Description |
---|
UnknownContentTypeException(java.lang.String typeName) |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
getHTMLEncodedTitle()
Get the title of the error page.
|
java.lang.String |
getMessage()
Get the contents of the error page.
|
java.lang.String |
getRawTitle()
Get the raw title of the error page.
|
java.lang.String |
getType() |
createFetchException, details, recreateFetchException, toString
public UnknownContentTypeException(java.lang.String typeName)
public java.lang.String getType()
public java.lang.String getHTMLEncodedTitle()
UnsafeContentTypeException
getHTMLEncodedTitle
in class UnsafeContentTypeException
public java.lang.String getRawTitle()
UnsafeContentTypeException
getRawTitle
in class UnsafeContentTypeException
public java.lang.String getMessage()
UnsafeContentTypeException
getMessage
in class UnsafeContentTypeException
public FetchException.FetchExceptionMode getFetchErrorCode()
UnsafeContentTypeException
getFetchErrorCode
in class UnsafeContentTypeException