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, toStringpublic UndetectableCharsetException(java.lang.String string)
public java.lang.String getMessage()
UnsafeContentTypeExceptiongetMessage in class UnsafeContentTypeExceptionpublic java.lang.String getHTMLEncodedTitle()
UnsafeContentTypeExceptiongetHTMLEncodedTitle in class UnsafeContentTypeExceptionpublic java.lang.String getRawTitle()
UnsafeContentTypeExceptiongetRawTitle in class UnsafeContentTypeExceptionpublic 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)