Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 csvBeanReader 读取 csv 文件的行。当我使用 while 循环读取原始数据时,例如:
while( (object = csvBeanReader.read(Class.class, getNameMapping(), processors)) != null )
如果发生异常,程序将退出循环而不分析剩余的原始数据。即使前一行发生异常,有没有办法继续读取下一行文件?
谢谢!!!!