Change BasicSupport to use jsoup
[fanfix.git] / src / be / nikiroo / fanfix / supported / Epub.java
index ba56cfb77540ac100e25a3ab4760544529ffea52..9b06f202f965e82782f3acf98607d9bf6c37ac65 100644 (file)
@@ -200,7 +200,7 @@ class Epub extends InfoText {
        }
 
        @Override
-       protected void close() throws IOException {
+       protected void close() {
                if (tmp != null && tmp.exists()) {
                        if (!tmp.delete()) {
                                tmp.deleteOnExit();
@@ -210,7 +210,11 @@ class Epub extends InfoText {
                tmp = null;
 
                if (fakeIn != null) {
-                       fakeIn.close();
+                       try {
+                               fakeIn.close();
+                       } catch (Exception e) {
+                               Instance.getTraceHandler().error(e);
+                       }
                }
 
                super.close();