Class SpannerExceptionFactory (2.15.5)

public final class SpannerExceptionFactory

Inheritance

java.lang.Object > SpannerExceptionFactory

Static Methods

asSpannerException(Throwable arg0)

public static SpannerException asSpannerException(Throwable arg0)
Parameter
NameDescription
arg0Throwable
Returns
TypeDescription
SpannerException

newAbortedDueToConcurrentModificationException(AbortedDueToConcurrentModificationException arg0)

public static AbortedDueToConcurrentModificationException newAbortedDueToConcurrentModificationException(AbortedDueToConcurrentModificationException arg0)
Parameter
NameDescription
arg0AbortedDueToConcurrentModificationException
Returns
TypeDescription
AbortedDueToConcurrentModificationException

newAbortedDueToConcurrentModificationException(AbortedException arg0)

public static AbortedDueToConcurrentModificationException newAbortedDueToConcurrentModificationException(AbortedException arg0)
Parameter
NameDescription
arg0AbortedException
Returns
TypeDescription
AbortedDueToConcurrentModificationException

newAbortedDueToConcurrentModificationException(AbortedException arg0, SpannerException arg1)

public static AbortedDueToConcurrentModificationException newAbortedDueToConcurrentModificationException(AbortedException arg0, SpannerException arg1)
Parameters
NameDescription
arg0AbortedException
arg1SpannerException
Returns
TypeDescription
AbortedDueToConcurrentModificationException

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

public static SpannerBatchUpdateException newSpannerBatchUpdateException(ErrorCode arg0, String arg1, long[] arg2)
Parameters
NameDescription
arg0ErrorCode
arg1String
arg2long[]
Returns
TypeDescription
SpannerBatchUpdateException

newSpannerException(ErrorCode arg0, String arg1)

public static SpannerException newSpannerException(ErrorCode arg0, String arg1)
Parameters
NameDescription
arg0ErrorCode
arg1String
Returns
TypeDescription
SpannerException

newSpannerException(ErrorCode arg0, String arg1, Throwable arg2)

public static SpannerException newSpannerException(ErrorCode arg0, String arg1, Throwable arg2)
Parameters
NameDescription
arg0ErrorCode
arg1String
arg2Throwable
Returns
TypeDescription
SpannerException

newSpannerException(Context arg0, Throwable arg1)

public static SpannerException newSpannerException(Context arg0, Throwable arg1)
Parameters
NameDescription
arg0io.grpc.Context
arg1Throwable
Returns
TypeDescription
SpannerException

newSpannerException(Throwable arg0)

public static SpannerException newSpannerException(Throwable arg0)
Parameter
NameDescription
arg0Throwable
Returns
TypeDescription
SpannerException

propagateInterrupt(InterruptedException arg0)

public static SpannerException propagateInterrupt(InterruptedException arg0)
Parameter
NameDescription
arg0InterruptedException
Returns
TypeDescription
SpannerException

propagateTimeout(TimeoutException arg0)

public static SpannerException propagateTimeout(TimeoutException arg0)
Parameter
NameDescription
arg0TimeoutException
Returns
TypeDescription
SpannerException

Constructors

SpannerExceptionFactory()

public SpannerExceptionFactory()