public static Provider newProviderWithProviderException() {
    return new FakeProviderWithProviderException();
  }
Returns a new fake provider where getKey always throws ProviderException.
java_src/src/main/java/com/google/crypto/tink/integration/android/internal/FakeAndroidKeystoreProvider.java