Package com.google.cloud.hadoop.util
Interface ErrorTypeExtractor
-
- All Known Implementing Classes:
GrpcErrorTypeExtractor
public interface ErrorTypeExtractorTranslates exceptions from API calls into ErrorType
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classErrorTypeExtractor.ErrorType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanbucketAlreadyExists(Exception e)Determines if the given exception indicates that bucket already exists.ErrorTypeExtractor.ErrorTypegetErrorType(Exception exception)
-
-
-
Method Detail
-
getErrorType
ErrorTypeExtractor.ErrorType getErrorType(Exception exception)
-
bucketAlreadyExists
boolean bucketAlreadyExists(Exception e)
Determines if the given exception indicates that bucket already exists.
-
-