ifPortBindingException

Perform an action if the given exception was caused by a "port in use" BindException.

Since

2.2.7

Parameters

ex

the source exception

action

the action to perform