|
@@ -716,7 +716,7 @@ public class NetUtils {
|
|
final int localPort,
|
|
final int localPort,
|
|
final IOException exception) {
|
|
final IOException exception) {
|
|
if (exception instanceof BindException) {
|
|
if (exception instanceof BindException) {
|
|
- return new BindException(
|
|
|
|
|
|
+ return wrapWithMessage(exception,
|
|
"Problem binding to ["
|
|
"Problem binding to ["
|
|
+ localHost
|
|
+ localHost
|
|
+ ":"
|
|
+ ":"
|