public class UndetectableCharsetException extends UnsafeContentTypeException
Constructor and Description |
---|
UndetectableCharsetException(java.lang.String string) |
Modifier and Type | Method and Description |
---|---|
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 |
l10n(java.lang.String message) |
java.lang.String |
l10n(java.lang.String message,
java.lang.String key,
java.lang.String value) |
createFetchException, details, getFetchErrorCode, recreateFetchException, toString
public UndetectableCharsetException(java.lang.String string)
public java.lang.String getMessage()
UnsafeContentTypeException
getMessage
in class UnsafeContentTypeException
public java.lang.String getHTMLEncodedTitle()
UnsafeContentTypeException
getHTMLEncodedTitle
in class UnsafeContentTypeException
public java.lang.String getRawTitle()
UnsafeContentTypeException
getRawTitle
in class UnsafeContentTypeException
public java.lang.String l10n(java.lang.String message)
public java.lang.String l10n(java.lang.String message, java.lang.String key, java.lang.String value)