Uses of Class
com.google.cloud.spanner.ErrorCode
-
Packages that use ErrorCode Package Description com.google.cloud.spanner A client for Cloud Spanner - A no-compromise relational database service. -
-
Uses of ErrorCode in com.google.cloud.spanner
Methods in com.google.cloud.spanner that return ErrorCode Modifier and Type Method Description static ErrorCodeErrorCode. fromGrpcStatus(io.grpc.Status status)Returns the error code corresponding to a gRPC status, orUNKNOWNif not recognized.ErrorCodeSpannerException. getErrorCode()Returns the error code associated with this exception.static ErrorCodeErrorCode. 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.Methods in com.google.cloud.spanner with parameters of type ErrorCode Modifier and Type Method Description static SpannerBatchUpdateExceptionSpannerExceptionFactory. newSpannerBatchUpdateException(ErrorCode code, String message, long[] updateCounts)static SpannerExceptionSpannerExceptionFactory. newSpannerException(ErrorCode code, String message)static SpannerExceptionSpannerExceptionFactory. newSpannerException(ErrorCode code, String message, Throwable cause)
-