A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
Java in General
error with Url with java
Joined: Mar 10, 2011
Mar 10, 2011 08:28:03
Eclipse gives me these error with this code in
............ String url="http://www.cadenaser.com/rssaudio/larguero.html"; //URL url2=new URL("http://www.cadenaser.com/rssaudio/larguero.html"); URL url2=new URL(url); ....
Exception in thread "main"
: Unresolved compilation problems:
Unhandled exception type
Could you help me please?
Many thanks and sorry for my english
Joined: Aug 05, 2005
Mar 10, 2011 09:26:42
The definition of the URL class constructor says that it might throw a
. This is a checked exception, so your code needs to either catch or rethrow it. See the
java exceptions tutorial
for more details.
Joined: Oct 13, 2005
Mar 10, 2011 10:32:48
. . . and welcome to the Ranch
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: error with Url with java
parent location of a url
What is the Prototype for Main method in java
Sockets vs URL Based classes
URLConnection 422 Http Error response
Passing an image from CGI
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014