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(StorageObject storageObject) |
abstract java.io.IOException |
ioException()
Returns the
IOException . |
abstract StorageObject |
storageObject()
Returns the
StorageObject . |
@Nullable public abstract StorageObject storageObject()
StorageObject
.@Nullable public abstract java.io.IOException ioException()
IOException
.public static GcsUtil.StorageObjectOrIOException create(StorageObject storageObject)
public static GcsUtil.StorageObjectOrIOException create(java.io.IOException ioException)