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