public class GoogleCloudStorageExceptions
extends java.lang.Object
| Constructor and Description |
|---|
GoogleCloudStorageExceptions() |
| Modifier and Type | Method and Description |
|---|---|
static java.io.IOException |
createCompositeException(java.util.Collection<java.io.IOException> innerExceptions)
Creates a composite IOException out of multiple IOExceptions.
|
static java.io.FileNotFoundException |
getFileNotFoundException(java.lang.String bucketName,
java.lang.String objectName)
Creates FileNotFoundException with suitable message for a GCS bucket or object.
|
public static java.io.FileNotFoundException getFileNotFoundException(java.lang.String bucketName,
java.lang.String objectName)
public static java.io.IOException createCompositeException(java.util.Collection<java.io.IOException> innerExceptions)
innerException, it will be returned as-is without wrapping into an outer exception.Copyright © 2019. All rights reserved.