commit | 48d7b0a992fc4c4556bf753932fc4098c9c4ca71 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Wed Apr 29 09:40:34 2015 -0700 |
committer | Kenny Root <kroot@google.com> | Wed Apr 29 11:08:55 2015 -0700 |
tree | 36632d438442a551db62be9ab9d70de825a8512a | |
parent | cf9111e5e6a7bb2e777c1b4873732c4196889194 [diff] |
NativeCrypto: allow default exceptions Re-arrange the exception-throwing code to allow functions to pass in a default exception type instead of always throwing RuntimeException when a reason code doesn't match exactly with an exception type. (cherry picked from commit f2d30c9a2f73a21225728e4ba39467275dfddc01) Bug: 20488918 Change-Id: I557def7bbcfb164d2c781e0303431ff7a7793086