Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Method and Description |
---|---|
ErrorCode |
SpannerException.getErrorCode()
Returns the error code associated with this exception.
|
static ErrorCode |
ErrorCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
ErrorCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static SpannerBatchUpdateException |
SpannerExceptionFactory.newSpannerBatchUpdateException(ErrorCode code,
String message,
long[] updateCounts) |
static SpannerException |
SpannerExceptionFactory.newSpannerException(ErrorCode code,
String message) |
static SpannerException |
SpannerExceptionFactory.newSpannerException(ErrorCode code,
String message,
Throwable cause) |
Copyright © 2019 Google LLC. All rights reserved.