HTTPCLIENT-1380: more informative exception message
Contributed by Joseph Walton <joe at kafsemo.org> git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1624971 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3f637807f6
commit
fe876f9656
|
@ -1094,7 +1094,7 @@ final class NTLMEngineImpl implements NTLMEngine {
|
||||||
|
|
||||||
if ((flags & FLAG_REQUEST_UNICODE_ENCODING) == 0) {
|
if ((flags & FLAG_REQUEST_UNICODE_ENCODING) == 0) {
|
||||||
throw new NTLMEngineException(
|
throw new NTLMEngineException(
|
||||||
"NTLM type 2 message has flags that make no sense: "
|
"NTLM type 2 message indicates no support for Unicode. Flags are: "
|
||||||
+ Integer.toString(flags));
|
+ Integer.toString(flags));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue