throwIfPortBindingException

Throw a PortInUseException if the given exception was caused by a "port in use" BindException.

Since

2.2.7

Parameters

ex

the source exception

port

a suppler used to provide the port