diff options
author | Seth Moore <sethmo@google.com> | 2021-05-05 17:34:15 -0700 |
---|---|---|
committer | Seth Moore <sethmo@google.com> | 2021-05-05 17:41:38 -0700 |
commit | c73fe01f1607fb4b1f9afb98fc46960623fef483 (patch) | |
tree | 78b533958f763949395fba826285a8352ba47d9a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7a622ea7ebc8396faf6e4b629f9467a34fb66fb3 (diff) |
Don't re-wrap DeviceIdAttestationExceptions
Instead of always wrapping errors in a DeviceIdAttestationException,
check to see if the underlying cause was originally a
DeviceIdAttestationException. If so, unwrap the cause and just re-throw
that, preserving the original error.
Bug: 183827468
Test: GtsGmsCoreSecurityTestApp
Change-Id: Iab78ccaff91dd1de615e1d2b18f709027aecd59e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions