此代码在try和catch上给出了意外令牌的错误.怎么了?
public class WeatherTest { String weatherurl = "http://weather.yahooapis.com/forecastRSS?w=35801&u=c"; HttpClient httpClient = new DefaultHttpClient(); HttpGet httpGet = new HttpGet(weatherurl); try { HttpEntity httpEntity = httpClient.execute(httpGet).getEntity(); InputStream inputStream = httpEntity.getContent(); Reader in = new InputStreamReader(inputStream); BufferedReader bufferedreader = new BufferedReader(in); StringBuilder stringBuilder = new StringBuilder(); String stringReadLine = null; while ((stringReadLine = bufferedreader.readLine()) != null) { stringBuilder.append(stringReadLine + "\n"); } String qResult = stringBuilder.toString(); } catch (IOException ie) { ie.printStackTrace(); } }