in cloud-spanner-r2dbc/src/main/java/com/google/cloud/spanner/r2dbc/v2/SpannerClientLibraryConnection.java [185:193]
private Mono<Void> validateIsolation(IsolationLevel isolationLevel) {
if (isolationLevel == null) {
return Mono.error(new IllegalArgumentException("IsolationLevel can't be null."));
}
return isolationLevel == SERIALIZABLE ? Mono.empty()
: Mono.error(new UnsupportedOperationException(
String.format("Unsupported '%s' isolation level, Only SERIALIZABLE is supported.",
isolationLevel.asSql())));
}