Throwing a RuntimeError leads to a stack trace in the build failure error message, which is not useful and makes the error harder to understand. Bug: 320698986 Test: Presubmits Change-Id: I0b79185fff7b9c8d4085b23936b80b3d026a4384
Test: TreeHugger Bug: 182349282 Change-Id: Ifae282d51b088d0562605b41a09696d75c5138f1
So that a future test can import it without a dirty syntax. Test: m lint-check Bug: 182349282 Change-Id: I520a5af49543801ab2a8ee888ff235876546dc74