Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(756)

Issue 10442068: Add more consitent exception generation and handling (Closed)

Created:
8 years, 6 months ago by M-A Ruel
Modified:
8 years, 6 months ago
Reviewers:
cmp, MAD
CC:
chromium-reviews, pam+watch_chromium.org, csharp
Visibility:
Public.

Description

Add more consistent exception generation and handling Convert many assert into proper exceptions. This makes the code more usable as a library. This is important as tracing in some case will fail, e.g. with strace race conditions, so they need to be handled properly. NOTRY=true R=cmp@chromium.org BUG=98636 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140427

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : Narrow exception handling in trace_test_cases.py #

Patch Set 4 : Rebase #

Patch Set 5 : fix small bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -199 lines) Patch
M tools/isolate/trace_inputs.py View 1 2 3 4 32 chunks +400 lines, -195 lines 0 comments Download
M tools/isolate/trace_inputs_test.py View 1 2 3 1 chunk +8 lines, -2 lines 0 comments Download
M tools/isolate/trace_test_cases.py View 1 2 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
M-A Ruel
8 years, 6 months ago (2012-05-29 18:02:42 UTC) #1
cmp
lgtm
8 years, 6 months ago (2012-06-04 22:26:43 UTC) #2
cmp
title says 'add more consitent' should be 'add more consistent'
8 years, 6 months ago (2012-06-04 22:27:06 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/10442068/10001
8 years, 6 months ago (2012-06-04 23:32:57 UTC) #4
commit-bot: I haz the power
8 years, 6 months ago (2012-06-04 23:34:52 UTC) #5
Change committed as 140427

Powered by Google App Engine
This is Rietveld 408576698