Class SpannerExceptionFactory (2.18.1)

public final class SpannerExceptionFactory

Inheritance

java.lang.Object > SpannerExceptionFactory

Static Methods

asSpannerException(Throwable arg0)

public static SpannerException asSpannerException(Throwable arg0)
Parameter
Name Description
arg0 Throwable
Returns
Type Description
SpannerException

newAbortedDueToConcurrentModificationException(AbortedDueToConcurrentModificationException arg0)

public static AbortedDueToConcurrentModificationException newAbortedDueToConcurrentModificationException(AbortedDueToConcurrentModificationException arg0)
Parameter
Name Description
arg0 AbortedDueToConcurrentModificationException
Returns
Type Description
AbortedDueToConcurrentModificationException

newAbortedDueToConcurrentModificationException(AbortedException arg0)

public static AbortedDueToConcurrentModificationException newAbortedDueToConcurrentModificationException(AbortedException arg0)
Parameter
Name Description
arg0 AbortedException
Returns
Type Description
AbortedDueToConcurrentModificationException

newAbortedDueToConcurrentModificationException(AbortedException arg0, SpannerException arg1)

public static AbortedDueToConcurrentModificationException newAbortedDueToConcurrentModificationException(AbortedException arg0, SpannerException arg1)
Parameters
Name Description
arg0 AbortedException
arg1 SpannerException
Returns
Type Description
AbortedDueToConcurrentModificationException

newSpannerBatchUpdateException(ErrorCode arg0, String arg1, long[] arg2)

public static SpannerBatchUpdateException newSpannerBatchUpdateException(ErrorCode arg0, String arg1, long[] arg2)
Parameters
Name Description
arg0 ErrorCode
arg1 String
arg2 long[]
Returns
Type Description
SpannerBatchUpdateException

newSpannerException(ErrorCode arg0, String arg1)

public static SpannerException newSpannerException(ErrorCode arg0, String arg1)
Parameters
Name Description
arg0 ErrorCode
arg1 String
Returns
Type Description
SpannerException

newSpannerException(ErrorCode arg0, String arg1, Throwable arg2)

public static SpannerException newSpannerException(ErrorCode arg0, String arg1, Throwable arg2)
Parameters
Name Description
arg0 ErrorCode
arg1 String
arg2 Throwable
Returns
Type Description
SpannerException

newSpannerException(Context arg0, Throwable arg1)

public static SpannerException newSpannerException(Context arg0, Throwable arg1)
Parameters
Name Description
arg0 io.grpc.Context
arg1 Throwable
Returns
Type Description
SpannerException

newSpannerException(Throwable arg0)

public static SpannerException newSpannerException(Throwable arg0)
Parameter
Name Description
arg0 Throwable
Returns
Type Description
SpannerException

propagateInterrupt(InterruptedException arg0)

public static SpannerException propagateInterrupt(InterruptedException arg0)
Parameter
Name Description
arg0 InterruptedException
Returns
Type Description
SpannerException

propagateTimeout(TimeoutException arg0)

public static SpannerException propagateTimeout(TimeoutException arg0)
Parameter
Name Description
arg0 TimeoutException
Returns
Type Description
SpannerException

Constructors

SpannerExceptionFactory()

public SpannerExceptionFactory()