Catching whois exceptions.