mirror of
https://github.com/Maschell/fuse-wiiu.git
synced 2024-11-22 06:39:14 +01:00
Catch Exception while creating a FSTDataProviderNUSTitle
This commit is contained in:
parent
93330d24a6
commit
ee54c9441a
2
pom.xml
2
pom.xml
@ -92,7 +92,7 @@
|
||||
<dependency>
|
||||
<groupId>com.github.Maschell</groupId>
|
||||
<artifactId>JNUSLib</artifactId>
|
||||
<version>c47c991</version>
|
||||
<version>fccd8f8</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
|
@ -1,6 +1,7 @@
|
||||
package de.mas.wiiu.jnus.fuse_wiiu.implementation;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.Optional;
|
||||
|
||||
import de.mas.wiiu.jnus.NUSTitle;
|
||||
@ -46,7 +47,12 @@ public class LocalBackupNUSTitleContainer extends GroupFuseContainer {
|
||||
e1.printStackTrace();
|
||||
}
|
||||
}
|
||||
return new FSTDataProviderNUSTitle(t);
|
||||
try {
|
||||
return new FSTDataProviderNUSTitle(t);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
@ -58,7 +58,12 @@ public class LocalNUSTitleContainer extends GroupFuseContainer {
|
||||
}
|
||||
}
|
||||
|
||||
return new FSTDataProviderNUSTitle(t);
|
||||
try {
|
||||
return new FSTDataProviderNUSTitle(t);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user