public abstract static class GcsUtil.StorageObjectOrIOException
extends java.lang.Object
StorageObject
or an IOException
.Constructor and Description |
---|
StorageObjectOrIOException() |
Modifier and Type | Method and Description |
---|---|
static GcsUtil.StorageObjectOrIOException |
create(java.io.IOException ioException) |
static GcsUtil.StorageObjectOrIOException |
create(com.google.api.services.storage.model.StorageObject storageObject) |
abstract java.io.IOException |
ioException()
Returns the
IOException . |
abstract com.google.api.services.storage.model.StorageObject |
storageObject()
Returns the
StorageObject . |
@Nullable public abstract com.google.api.services.storage.model.StorageObject storageObject()
StorageObject
.@Nullable public abstract java.io.IOException ioException()
IOException
.public static GcsUtil.StorageObjectOrIOException create(com.google.api.services.storage.model.StorageObject storageObject)
public static GcsUtil.StorageObjectOrIOException create(java.io.IOException ioException)