DescriptionAdd 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 #
Messages
Total messages: 5 (0 generated)
|