Package com.google.cloud.hadoop.util
Class GrpcErrorTypeExtractor
java.lang.Object
com.google.cloud.hadoop.util.GrpcErrorTypeExtractor
- All Implemented Interfaces:
ErrorTypeExtractor
Implementation for
ErrorTypeExtractor for exception specifically thrown from gRPC path.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.cloud.hadoop.util.ErrorTypeExtractor
ErrorTypeExtractor.ErrorType -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if the given exception indicates that bucket already exists.getErrorType(Exception error)
-
Field Details
-
INSTANCE
-
-
Method Details
-
getErrorType
- Specified by:
getErrorTypein interfaceErrorTypeExtractor
-
bucketAlreadyExists
Description copied from interface:ErrorTypeExtractorDetermines if the given exception indicates that bucket already exists.- Specified by:
bucketAlreadyExistsin interfaceErrorTypeExtractor
-