public class HttpUnsupportedEncodingException
extends java.io.UnsupportedEncodingException
HttpConstants.HEADER_TRANSFER_ENCODING
or
HttpConstants.HEADER_CONTENT_ENCODING
cannot be handled by the server.Constructor and Description |
---|
HttpUnsupportedEncodingException(java.lang.String field,
java.lang.String encoding)
Creates a new
UnsupportedEncodingException with the given parameters. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
public HttpUnsupportedEncodingException(java.lang.String field, @Nullable java.lang.String encoding)
UnsupportedEncodingException
with the given parameters.field
- the HTTP Header field causing the error.encoding
- the encoding which is not supported.