Exception ResourceManagerException (1.15.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
NameDescription
excom.google.cloud.RetryHelper.RetryHelperException
Returns
TypeDescription
ResourceManagerException

Constructors

ResourceManagerException(int code, String message) (deprecated)

public ResourceManagerException(int code, String message)
Parameters
NameDescription
codeint
messageString

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

public ResourceManagerException(int code, String message, Throwable cause)
Parameters
NameDescription
codeint
messageString
causeThrowable

ResourceManagerException(IOException exception) (deprecated)

public ResourceManagerException(IOException exception)
Parameter
NameDescription
exceptionIOException