@Test public void testRetryableInternalException() { StatusRuntimeException retryableException = new StatusRuntimeException( Status.INTERNAL.withDescription("HTTP/2 error code: INTERNAL_ERROR"), null); assertThat(createR2dbcException(retryableException)) .isInstanceOf(R2dbcTransientResourceException.class); }
public static R2dbcException createR2dbcException(int errorCode, String message) { return createR2dbcException(errorCode, message, null); }
SpannerExceptionUtil { public static R2dbcException createR2dbcException(int errorCode, String message) { return createR2dbcException(errorCode, message, null); } }
SpannerExceptionUtil { public static R2dbcException createR2dbcException(int errorCode, String message) { return createR2dbcException(errorCode, message, null); }  }
SpannerExceptionUtil { public static R2dbcException createR2dbcException(int errorCode, String message) { return createR2dbcException(errorCode, message, null); }  static R2dbcException createR2dbcException(int errorCode, String message); static R2dbcException createR2dbcException(Throwable baseException); }
SpannerExceptionUtil { public static R2dbcException createR2dbcException(int errorCode, String message) { return createR2dbcException(errorCode, message, null); }  static R2dbcException createR2dbcException(int errorCode, String message); static R2dbcException createR2dbcException(Throwable baseException);  }