String input;br是BufferedReader的一个实例,我本想用while((input=br.readLine())!=null)){…}但是netbeans提示Exception之类错误,这是为什么啊?请问要应该怎么使用那些要抛出异常的方法?