Errors.throwConnectException(...) should be public (#10745)
Motivation:
ddebc1027d
missed to make Errors.throwConnectException(...) public
Modifications:
Make method public
Result:
Be able to use Errors.throwConnectException(...) from other module
This commit is contained in:
parent
d371b1bbaa
commit
b4edf21bd3
@ -107,7 +107,7 @@ public final class Errors {
|
||||
}
|
||||
}
|
||||
|
||||
static void throwConnectException(String method, int err)
|
||||
public static void throwConnectException(String method, int err)
|
||||
throws IOException {
|
||||
if (err == ERROR_EALREADY_NEGATIVE) {
|
||||
throw new ConnectionPendingException();
|
||||
|
Loading…
Reference in New Issue
Block a user