Search in sources :

Example 1 with LoadException

use of org.fagu.fmv.core.project.LoadException in project fmv by f-agu.

the class Bootstrap method loadProject.

/**
 * @param saveFile
 * @return
 */
private static Project loadProject(File saveFile) {
    System.out.println("Loading " + saveFile.getName() + " ...");
    Project project = new Project(saveFile);
    try {
        project.load();
    } catch (LoadException e) {
        throw new RuntimeException(e);
    }
    return project;
}
Also used : Project(org.fagu.fmv.core.project.Project) LoadException(org.fagu.fmv.core.project.LoadException)

Aggregations

LoadException (org.fagu.fmv.core.project.LoadException)1 Project (org.fagu.fmv.core.project.Project)1