diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2024-08-30 12:23:26 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2024-08-30 12:23:26 -0400 |
commit | 69f69143f5604626ded3c26ee754b94eaf3c4f15 (patch) | |
tree | a64a1ce20ff21cd6d73b1d36c3e3f9ca930c9b4d /src/main/java/net/sowgro/npehero/Driver.java | |
parent | aa916b0f06be0d42bec1e035d0efeec954e09243 (diff) | |
download | NPEhero-69f69143f5604626ded3c26ee754b94eaf3c4f15.tar.gz NPEhero-69f69143f5604626ded3c26ee754b94eaf3c4f15.tar.bz2 NPEhero-69f69143f5604626ded3c26ee754b94eaf3c4f15.zip |
Clean up error handling pt.1
Diffstat (limited to 'src/main/java/net/sowgro/npehero/Driver.java')
-rwxr-xr-x | src/main/java/net/sowgro/npehero/Driver.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/net/sowgro/npehero/Driver.java b/src/main/java/net/sowgro/npehero/Driver.java index 5a2aa73..411bf87 100755 --- a/src/main/java/net/sowgro/npehero/Driver.java +++ b/src/main/java/net/sowgro/npehero/Driver.java @@ -12,7 +12,7 @@ import javafx.scene.input.KeyEvent; import javafx.scene.layout.*; import javafx.stage.Stage; import javafx.util.Duration; -import net.sowgro.npehero.editor.ErrorDisplay; +import net.sowgro.npehero.main.ErrorDisplay; import net.sowgro.npehero.levelapi.Levels; import net.sowgro.npehero.main.*; import net.sowgro.npehero.gui.MainMenu; @@ -86,7 +86,6 @@ public class Driver extends Application Settings.read(); System.out.println("Settings loaded"); } catch (Exception e) { - e.printStackTrace(); errors.push("Failed to load settings from file\n"+e); } System.out.println("Loading controls..."); @@ -94,7 +93,6 @@ public class Driver extends Application Control.readFromFile(); System.out.println("Controls loaded"); } catch (Exception e) { - e.printStackTrace(); errors.push("Failed to load controls from file\n"+e); } System.out.println("Loading levels..."); @@ -102,7 +100,6 @@ public class Driver extends Application Levels.readData(); System.out.println("Loaded " + Levels.list.size() + " levels (" + Levels.getValidList().size() + " valid)"); } catch (IOException e) { - e.printStackTrace(); errors.push("Failed to load levels\n"); } Page last = new MainMenu(); |