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
d804e34cf0
commit
ceb9dd53aa
@ -94,7 +94,7 @@ public final class Errors {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void throwConnectException(String method, int err)
|
public static void throwConnectException(String method, int err)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
if (err == ERROR_EALREADY_NEGATIVE) {
|
if (err == ERROR_EALREADY_NEGATIVE) {
|
||||||
throw new ConnectionPendingException();
|
throw new ConnectionPendingException();
|
||||||
|
Loading…
Reference in New Issue
Block a user