我写了一个树组件,构造函数掷出exception,可有错误显示d:\Xinox Software\JCreator Pro\MyProjects\mcs51\mainframe.java:13: unreported exception java.io.FileNotFoundException; must be caught or declared to be thrown
FileTree t=^new FileTree(s);
请问如何解决为什么?
...全文
291打赏收藏
请问为什么会出这样的错误?
我写了一个树组件,构造函数掷出exception,可有错误显示d:\Xinox Software\JCreator Pro\MyProjects\mcs51\mainframe.java:13: unreported exception java.io.FileNotFoundException; must be caught or declared to be thrown FileTree t=^new FileTree(s); 请问如何解决为什么?