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