I don't believe this exception can be swallowed.  I think the caller needs to know if the host IP was not obtained.