Skip to content

Commit

Permalink
Add exception catching if SeekableByteChannel.position() fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Gonzales committed Aug 24, 2015
1 parent 23b5a83 commit 129a665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/pnf/plugin/fat/FatPlugin.java
Expand Up @@ -55,7 +55,7 @@ public boolean canIdentify(IInput stream, IUnitCreator unit) {
ch.read(buff);
isObb = checkBytes(buff, 0, OBB_SIG);
}
catch(IOException e) {
catch(IOException|IllegalArgumentException e) {
isObb = false;
}

Expand Down

0 comments on commit 129a665

Please sign in to comment.