guava-retrying icon indicating copy to clipboard operation
guava-retrying copied to clipboard

Retryer.call should not catch Errors like OOME

Open sslavic opened this issue 9 years ago • 0 comments
trafficstars

Please consider catching "Exception | RuntimeException e" instead of Throwable at https://github.com/rholder/guava-retrying/blob/master/src/main/java/com/github/rholder/retry/Retryer.java#L162 not to catch and wrap Error potentially thrown by the called Callable.

sslavic avatar Nov 15 '16 17:11 sslavic