An alternative would we be to call `e.initCause(lastException)` but that will fail if the `OnlyBadHostsException` already has a cause.  This implementation avoids any assumptions about the state of the original `OnlyBadHostsException`.