diff options
author | Alan Viverette <alanv@google.com> | 2015-12-08 14:49:13 -0500 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2015-12-08 14:49:13 -0500 |
commit | c078c605ab904b0e4a5d793cbeffd78c340f2816 (patch) | |
tree | 1be842dc5f315e3f04c4e98dbc48bfa71dd8b107 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c72b3101ee368d2a9943e4436ede679acfa38f92 (diff) |
Attach drawable resource ID and name to getDrawable() exceptions
Wraps the entire getDrawable() method in a try/catch block. Clears the
stack trace from the re-thrown exception, since we only need the trace
from the original exception.
Also clears stack traces from re-thrown RuntimeExceptions in applyTheme
implementations.
Change-Id: I92396abf9e748eef78777174b297a09e118f5e70
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions