Issue #427: User friendly error message when file not found (during command line compress, decompress and rename identifiers)

This commit is contained in:
Honfika
2013-11-23 23:46:18 +01:00
parent 3d54eb9627
commit 01bccf5e16
2 changed files with 48 additions and 33 deletions

View File

@@ -115,7 +115,6 @@ import java.awt.image.BufferedImage;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
@@ -476,8 +475,6 @@ public final class SWF {
fis.close();
fos.close();
} catch (FileNotFoundException ex) {
return false;
} catch (IOException ex) {
return false;
}
@@ -540,8 +537,6 @@ public final class SWF {
default:
return false;
}
} catch (FileNotFoundException ex) {
return false;
} catch (IOException ex) {
return false;
}
@@ -557,8 +552,6 @@ public final class SWF {
swf.saveTo(fos);
} catch (InterruptedException ex) {
return false;
} catch (FileNotFoundException ex) {
return false;
} catch (IOException ex) {
return false;
}