@InternalApi
public final class StorageException
extends com.google.cloud.http.BaseHttpServiceException
| Constructor and Description |
|---|
StorageException(com.google.api.client.googleapis.json.GoogleJsonError error) |
StorageException(int code,
String message) |
StorageException(int code,
String message,
Throwable cause) |
StorageException(IOException exception) |
| Modifier and Type | Method and Description |
|---|---|
static StorageException |
translateAndThrow(com.google.cloud.RetryHelper.RetryHelperException ex)
Translate RetryHelperException to the StorageException that caused the error.
|
equals, getCode, getDebugInfo, getLocation, getReason, hashCode, isRetryable, isRetryable, isRetryable, translate, translateaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic StorageException(int code,
String message)
public StorageException(IOException exception)
public StorageException(com.google.api.client.googleapis.json.GoogleJsonError error)
public static StorageException translateAndThrow(com.google.cloud.RetryHelper.RetryHelperException ex)
StorageException - when ex was caused by a StorageExceptionCopyright © 2019 Google LLC. All rights reserved.