public abstract static class GcsUtil.StorageObjectOrIOException extends Object
StorageObject or an IOException.| Constructor and Description |
|---|
StorageObjectOrIOException() |
| Modifier and Type | Method and Description |
|---|---|
static GcsUtil.StorageObjectOrIOException |
create(IOException ioException) |
static GcsUtil.StorageObjectOrIOException |
create(com.google.api.services.storage.model.StorageObject storageObject) |
abstract 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 IOException ioException()
IOException.public static GcsUtil.StorageObjectOrIOException create(com.google.api.services.storage.model.StorageObject storageObject)
public static GcsUtil.StorageObjectOrIOException create(IOException ioException)
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.