Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 6693736058716160: Catch all exceptions from libadblockplus and rethrow them as Java exceptions (Closed)

Created:
Nov. 16, 2013, 4:11 p.m. by Felix Dahlke
Modified:
Nov. 22, 2013, 6:10 p.m.
Visibility:
Public.

Description

With this, we'll catch all exceptions from libadblockplus and rethrow them as Java exceptions. Note that I went against Wladimir's suggestion and added a try block around every engine invocation. Even if we know that certain methods won't throw an exception now, I don't want to segfault if they do later.

Patch Set 1 : #

Patch Set 2 : Rebased on branch libadblockplus #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -78 lines) Patch
M jni/abpEngine.cpp View 1 3 chunks +219 lines, -78 lines 0 comments Download

Messages

Total messages: 3
Felix Dahlke
Nov. 16, 2013, 4:18 p.m. (2013-11-16 16:18:26 UTC) #1
Felix Dahlke
Rebased these changes on the libadblockplus branch.
Nov. 18, 2013, 4:14 p.m. (2013-11-18 16:14:56 UTC) #2
Wladimir Palant
Nov. 22, 2013, 6:07 p.m. (2013-11-22 18:07:22 UTC) #3
LGTM assuming that only try..catch blocks have been added and the code inside
didn't change (hard to tell without hg diff -b).

Powered by Google App Engine
This is Rietveld