Hi everybody!
I'm writing a code in which i am reading url's from a file and then i want to check the ip address that they returns. but the problem is that when InetAddress.getByName("Url") is executed and the host is not found it show me the UnkownHostException and terminate the program. While i want it to continue it. How can i continue it if UnkownHostException occur. Thanks in advance.
Zeb-ur-Rehman.
Loading
Sam HobbsPosted Feb 11, 2012, 6:35 AM
Java also has try / catch blocks but there are very few articles in this web site about Java.
Zeb RehmanPosted Feb 11, 2012, 6:06 AM
Sam HobbsPosted Feb 11, 2012, 5:53 AM