public class SpannerException
extends com.google.cloud.grpc.BaseGrpcServiceException
Modifier and Type | Class and Description |
---|---|
static class |
SpannerException.ResourceNotFoundException
Base exception type for NOT_FOUND exceptions for known resource types.
|
Modifier and Type | Method and Description |
---|---|
ErrorCode |
getErrorCode()
Returns the error code associated with this exception.
|
long |
getRetryDelayInMillis()
Return the retry delay for operation in milliseconds.
|
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 ErrorCode getErrorCode()
public long getRetryDelayInMillis()
Copyright © 2022 Google LLC. All rights reserved.