blob: 7c9ec11918017dd40349b3686af18639c0a2a6d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import java.io.FileNotFoundException;
public class QuizMaker {
public static void main(String[] args) {
try {
Quiz.loadFromFile(args[0]).start();
} catch (FileNotFoundException fileNotFoundException) {
System.out.println("Such a file does not exist!");
} catch (InvalidQuizFormatException invalidQuizFormatException) {
invalidQuizFormatException.printStackTrace();
}
}
}
|