Exception AbortedException (6.74.0)

public class AbortedException extends SpannerException

Exception thrown by Cloud Spanner when an operation detects that a transaction has aborted. This type of error has its own subclass since it is often necessary to handle aborted differently to other types of errors, most typically by retrying the transaction.

Methods

isEmulatorOnlySupportsOneTransactionException()

public boolean isEmulatorOnlySupportsOneTransactionException()

Returns true if this aborted exception was returned by the emulator, and was caused by another transaction already being active on the emulator.

Returns
Type Description
boolean