Package com.google.cloud.spanner
Class AbortedDueToConcurrentModificationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.cloud.BaseServiceException
-
- com.google.cloud.grpc.BaseGrpcServiceException
-
- com.google.cloud.spanner.SpannerException
-
- com.google.cloud.spanner.AbortedException
-
- com.google.cloud.spanner.AbortedDueToConcurrentModificationException
-
- All Implemented Interfaces:
Serializable
public class AbortedDueToConcurrentModificationException extends AbortedException
Exception thrown by aConnection
when a database operation detects that a transaction has aborted and an internal retry failed because of a concurrent modification. This type of error has its own subclass since it is often necessary to handle this specific kind of aborted exceptions differently to other types of errors.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.cloud.spanner.SpannerException
SpannerException.ResourceNotFoundException
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpannerException
getDatabaseErrorDuringRetry()
-
Methods inherited from class com.google.cloud.spanner.SpannerException
getDomain, getErrorCode, getErrorDetails, getMetadata, getReason, getRetryDelayInMillis
-
Methods inherited from class com.google.cloud.BaseServiceException
equals, getCode, getDebugInfo, getLocation, hashCode, isRetryable, isRetryable, isRetryable, translate, translate
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getDatabaseErrorDuringRetry
public SpannerException getDatabaseErrorDuringRetry()
-
-