public class HttpUnsupportedEncodingException extends UnsupportedEncodingException
HttpConstants.HEADER_TRANSFER_ENCODING or
HttpConstants.HEADER_CONTENT_ENCODING cannot be handled by the server.| Constructor and Description |
|---|
HttpUnsupportedEncodingException(String field,
String encoding)
Creates a new
UnsupportedEncodingException with the given parameters. |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Returns the detail message string of this throwable.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toStringpublic HttpUnsupportedEncodingException(String field, @Nullable String encoding)
UnsupportedEncodingException with the given parameters.field - the HTTP Header field causing the error.encoding - the encoding which is not supported.@Nullable public String getMessage()
ThrowablegetMessage in class ThrowableThrowable instance (which may be null).