mirror of
https://github.com/google/nomulus.git
synced 2025-05-02 04:57:51 +02:00
We have a retrier wanting to call a function, retrying on IllegalStateExceptions (thrown by checkState()). However, one of the checkStates is called inside a Concurrent.transform, so when the checkState fails, the resulting IllegalStateException is wrapped in an UncheckedExecutionException and isn't caught by the retrier. We unwrap the IllegalStateException to make sure it's caught. Q: Why not just catch UncheckedExecution exception? A: Because it might wrap a different exception which we don't want to retry on. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=224862573 |
||
---|---|---|
.. | ||
ClaimsListShard.java | ||
TmchCrl.java |