Class SpannerExceptionFactory (2.33.1)
public final class SpannerExceptionFactory
Static Methods
asSpannerException(Throwable arg0)
public static SpannerException asSpannerException(Throwable arg0)
causeAsRunTimeException(ExecutionException arg0)
public static RuntimeException causeAsRunTimeException(ExecutionException arg0)
newAbortedDueToConcurrentModificationException(AbortedDueToConcurrentModificationException arg0)
public static AbortedDueToConcurrentModificationException newAbortedDueToConcurrentModificationException(AbortedDueToConcurrentModificationException arg0)
newAbortedDueToConcurrentModificationException(AbortedException arg0)
public static AbortedDueToConcurrentModificationException newAbortedDueToConcurrentModificationException(AbortedException arg0)
newAbortedDueToConcurrentModificationException(AbortedException arg0, SpannerException arg1)
public static AbortedDueToConcurrentModificationException newAbortedDueToConcurrentModificationException(AbortedException arg0, SpannerException arg1)
newDmlBatchUpdateCountVerificationFailedException(long[] arg0, long[] arg1)
public static DmlBatchUpdateCountVerificationFailedException newDmlBatchUpdateCountVerificationFailedException(long[] arg0, long[] arg1)
Parameters |
Name |
Description |
arg0 |
long[]
|
arg1 |
long[]
|
newSpannerBatchUpdateException(ErrorCode arg0, String arg1, long[] arg2)
public static SpannerBatchUpdateException newSpannerBatchUpdateException(ErrorCode arg0, String arg1, long[] arg2)
newSpannerBatchUpdateException(ErrorCode arg0, String arg1, long[] arg2, XGoogSpannerRequestId arg3)
public static SpannerBatchUpdateException newSpannerBatchUpdateException(ErrorCode arg0, String arg1, long[] arg2, XGoogSpannerRequestId arg3)
newSpannerException(ErrorCode arg0, String arg1)
public static SpannerException newSpannerException(ErrorCode arg0, String arg1)
newSpannerException(ErrorCode arg0, String arg1, XGoogSpannerRequestId arg2)
public static SpannerException newSpannerException(ErrorCode arg0, String arg1, XGoogSpannerRequestId arg2)
newSpannerException(ErrorCode arg0, String arg1, Throwable arg2)
public static SpannerException newSpannerException(ErrorCode arg0, String arg1, Throwable arg2)
newSpannerException(ErrorCode arg0, String arg1, Throwable arg2, XGoogSpannerRequestId arg3)
public static SpannerException newSpannerException(ErrorCode arg0, String arg1, Throwable arg2, XGoogSpannerRequestId arg3)
newSpannerException(Context arg0, Throwable arg1)
public static SpannerException newSpannerException(Context arg0, Throwable arg1)
Parameters |
Name |
Description |
arg0 |
io.grpc.Context
|
arg1 |
Throwable
|
newSpannerException(Context arg0, Throwable arg1, XGoogSpannerRequestId arg2)
public static SpannerException newSpannerException(Context arg0, Throwable arg1, XGoogSpannerRequestId arg2)
newSpannerException(Throwable arg0)
public static SpannerException newSpannerException(Throwable arg0)
newSpannerException(Throwable arg0, XGoogSpannerRequestId arg1)
public static SpannerException newSpannerException(Throwable arg0, XGoogSpannerRequestId arg1)
propagateInterrupt(InterruptedException arg0)
public static SpannerException propagateInterrupt(InterruptedException arg0)
propagateInterrupt(InterruptedException arg0, XGoogSpannerRequestId arg1)
public static SpannerException propagateInterrupt(InterruptedException arg0, XGoogSpannerRequestId arg1)
propagateTimeout(TimeoutException arg0)
public static SpannerException propagateTimeout(TimeoutException arg0)
Constructors
SpannerExceptionFactory()
public SpannerExceptionFactory()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]