public final class ExceptionHandler extends Object implements Serializable
RetryHelper.| Modifier and Type | Class and Description |
|---|---|
static class |
ExceptionHandler.Builder
ExceptionHandler builder.
|
static interface |
ExceptionHandler.Interceptor |
| Modifier and Type | Method and Description |
|---|---|
static ExceptionHandler.Builder |
builder() |
static ExceptionHandler |
defaultInstance()
Returns an instance which retry any checked exception and abort on any runtime exception.
|
boolean |
equals(Object obj) |
int |
hashCode() |
Set<Class<? extends Exception>> |
nonRetriableExceptions() |
Set<Class<? extends Exception>> |
retriableExceptions() |
public static ExceptionHandler defaultInstance()
public static ExceptionHandler.Builder builder()
Copyright © 2016 Google. All rights reserved.