mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 10:37:59 +01:00
Improve exception message of Socks5 code
This commit is contained in:
parent
e266b1acd8
commit
32b4e74910
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class Socks5Utils {
|
|||
in.readFully(header, 0, 5);
|
||||
|
||||
if (header[3] != (byte) 0x03) {
|
||||
throw new SmackException("Unsupported SOCKS5 address type");
|
||||
throw new SmackException("Unsupported SOCKS5 address type: " + header[3] + " (expected: 0x03)");
|
||||
}
|
||||
|
||||
int addressLength = header[4];
|
||||
|
|
Loading…
Reference in a new issue