TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Zeb Rehman
NA
41
72.9k
UnknowHostException
Feb 11 2012 2:26 AM
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.
Reply
Answers (
3
)
InvokeScript
NullPointerException while filling an array from .txt