Package ej.hoka.http.encoding
Class HttpUnsupportedEncodingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.io.UnsupportedEncodingException
-
- ej.hoka.http.encoding.HttpUnsupportedEncodingException
-
- All Implemented Interfaces:
java.io.Serializable
public class HttpUnsupportedEncodingException extends java.io.UnsupportedEncodingExceptionThis exception is thrown whenHttpConstants.HEADER_TRANSFER_ENCODINGorHttpConstants.HEADER_CONTENT_ENCODINGcannot be handled by the server.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpUnsupportedEncodingException(java.lang.String field, java.lang.String encoding)Creates a newUnsupportedEncodingExceptionwith the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMessage()
-
-
-
Constructor Detail
-
HttpUnsupportedEncodingException
public HttpUnsupportedEncodingException(java.lang.String field, @Nullable java.lang.String encoding)Creates a newUnsupportedEncodingExceptionwith the given parameters.- Parameters:
field- the HTTP Header field causing the error.encoding- the encoding which is not supported.
-
-