code: public static final RetryPolicy retryByRemoteException(
        RetryPolicy defaultPolicy,
        Map<Class<? extends Exception>, RetryPolicy> exceptionToPolicyMap) {
      return new RemoteExceptionDependentRetry(defaultPolicy, exceptionToPolicyMap);
    }
docs: <p>
  A retry policy for RemoteException
  Set a default policy with some explicit handlers for specific exceptions.
  </p>