Adds ConcurrentModificationException to the list of propagatable types

This commit is contained in:
Ignasi Barrera 2018-07-10 09:40:26 -07:00
parent 3839432757
commit 4958f1f29a
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ import static com.google.common.base.Throwables.getCausalChain;
import static com.google.common.base.Throwables.propagate;
import static com.google.common.collect.Iterables.find;
import java.util.ConcurrentModificationException;
import java.util.NoSuchElementException;
import org.jclouds.concurrent.TransformParallelException;
@ -135,6 +136,7 @@ public class Throwables2 {
ResourceNotFoundException.class,
InsufficientResourcesException.class,
RateLimitExceededException.class,
ConcurrentModificationException.class,
HttpResponseException.class);
// Note this needs to be kept up-to-date with all top-level exceptions jclouds works against