parent
0df138171c
commit
c51fe59e2f
|
@ -45,6 +45,9 @@ public final class NativeUtils {
|
||||||
} catch (NullPointerException e) {
|
} catch (NullPointerException e) {
|
||||||
temp.delete();
|
temp.delete();
|
||||||
throw new FileNotFoundException("File " + path + " was not found inside JAR.");
|
throw new FileNotFoundException("File " + path + " was not found inside JAR.");
|
||||||
|
} catch (Exception e) {
|
||||||
|
file.delete();
|
||||||
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
||||||
return temp;
|
return temp;
|
||||||
|
|
Loading…
Reference in New Issue