public final class ExceptionHandler extends Object implements Serializable
RetryHelper.
For internal use only. User code cannot safely depend on this class.| Modifier and Type | Class and Description |
|---|---|
static class |
ExceptionHandler.Builder
ExceptionHandler builder.
|
| Modifier and Type | Method and Description |
|---|---|
static ExceptionHandler |
getDefaultInstance()
Returns an instance which retry any checked exception and abort on any runtime exception.
|
com.google.common.collect.ImmutableSet<Class<? extends Exception>> |
getNonRetriableExceptions() |
com.google.common.collect.ImmutableSet<Class<? extends Exception>> |
getRetriableExceptions() |
public com.google.common.collect.ImmutableSet<Class<? extends Exception>> getRetriableExceptions()
public com.google.common.collect.ImmutableSet<Class<? extends Exception>> getNonRetriableExceptions()
public static ExceptionHandler getDefaultInstance()
Copyright © 2016 Google. All rights reserved.