Teptao 7 months ago
parent b559660703
commit 8b27acf01f

@ -45,21 +45,18 @@ public class Application {
*
*
*/
public void run() {
public void run() throws IOException {
System.out.println("欢迎使用中小学数学卷子自动生成程序!");
try {
if (!sessionManager.isUserLoggedIn()) {
handleLoggedOutState();
} else {
handleLoggedInState();
}
} catch (Exception e) {
System.out.println("error");
}
}
}
/**
@ -210,7 +207,7 @@ public class Application {
* Application
* @param args 使
*/
public static void main(String[] args) {
public static void main(String[] args) throws IOException {
Application app = new Application();
app.run();
}

Loading…
Cancel
Save