com.google.appengine.tools.cloudstorage
Class ExceptionHandler
- java.lang.Object
-
- com.google.appengine.tools.cloudstorage.ExceptionHandler
-
- All Implemented Interfaces:
- Serializable
public final class ExceptionHandler extends Object implements Serializable
Exception handling used byRetryHelper
. For internal use only. User code cannot safely depend on this class.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
ExceptionHandler.Builder
ExceptionHandler builder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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()
-
-
-
Method Detail
-
getRetriableExceptions
public com.google.common.collect.ImmutableSet<Class<? extends Exception>> getRetriableExceptions()
-
getNonRetriableExceptions
public com.google.common.collect.ImmutableSet<Class<? extends Exception>> getNonRetriableExceptions()
-
getDefaultInstance
public static ExceptionHandler getDefaultInstance()
Returns an instance which retry any checked exception and abort on any runtime exception.
-
-
Copyright © 2016 Google. All rights reserved.