commit | bfdcdc1e2c0af34aeaf7b5b4d499975e0c3157be | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Wed Apr 22 18:10:36 2015 -0700 |
committer | Andreas Gampe <agampe@google.com> | Wed Apr 22 18:10:36 2015 -0700 |
tree | 17143f52b438284477fa6e3ac8fe74b0d82a5744 | |
parent | 8e58d76eb30a50e38c46bd6277186116937ba396 [diff] |
ART: Fix re-throwing failures of non-convention errors While it is convention that Throwable subclasses should have a constructor with a String argument, that is not rigorously enforced. So if a static initializer throws an error that omits that constructor, we must not provide a message when trying to throw again. Bug: 20495321 Bug: 20497840 Change-Id: Ia4334fa24223750f90a8f2732f1eb1e738575e8d