Exception ResourceManagerException (1.53.0)

public final class ResourceManagerException extends BaseHttpServiceException

Deprecated. v3 GAPIC client of ResourceManager is now available

Resource Manager service exception. See Also: Google Cloud Resource Manager error codes

Static Methods

translateAndThrow(RetryHelper.RetryHelperException ex) (deprecated)

public static ResourceManagerException translateAndThrow(RetryHelper.RetryHelperException ex)

Translate RetryHelperException to the ResourceManagerException that caused the error. This method will always throw an exception.

Parameter
Name Description
ex com.google.cloud.RetryHelper.RetryHelperException
Returns
Type Description
ResourceManagerException

Constructors

ResourceManagerException(int code, String message) (deprecated)

public ResourceManagerException(int code, String message)
Parameters
Name Description
code int
message String

ResourceManagerException(int code, String message, Throwable cause) (deprecated)

public ResourceManagerException(int code, String message, Throwable cause)
Parameters
Name Description
code int
message String
cause Throwable

ResourceManagerException(IOException exception) (deprecated)

public ResourceManagerException(IOException exception)
Parameter
Name Description
exception IOException