diff --git a/src/de/mas/wiiu/jnus/implementations/wud/reader/WUDDiscReader.java b/src/de/mas/wiiu/jnus/implementations/wud/reader/WUDDiscReader.java index 1ee40d9..e087cb9 100644 --- a/src/de/mas/wiiu/jnus/implementations/wud/reader/WUDDiscReader.java +++ b/src/de/mas/wiiu/jnus/implementations/wud/reader/WUDDiscReader.java @@ -161,7 +161,7 @@ public abstract class WUDDiscReader { public RandomAccessFile getRandomAccessFileStream() throws FileNotFoundException { if (getImage() == null || getImage().getFileHandle() == null) { log.warning("No image or image filehandle set."); - System.exit(1); // TODO: NOOOOOOOOOOOOO + throw new FileNotFoundException("No image or image filehandle set."); } return new RandomAccessFile(getImage().getFileHandle(), "r"); }