Skip to content

Commit

Permalink
LinkageError(str,throwable) not available for Android SDK 16.
Browse files Browse the repository at this point in the history
  • Loading branch information
gubatron committed Jan 2, 2016
1 parent 681aa2b commit 879ce98
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion swig/libtorrent.i
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
System.load(path);
}
} catch (LinkageError e) {
throw new LinkageError("Look for your architecture binary instructions at: https://github.com/frostwire/frostwire-jlibtorrent", e);
LinkageError le = new LinkageError("Look for your architecture binary instructions at: https://github.com/frostwire/frostwire-jlibtorrent");
le.initCause(e);
throw le;
}
}
%}
Expand Down

0 comments on commit 879ce98

Please sign in to comment.