private void setErrorToThrow(GeneralSecurityException errorToThrow) {
      this.errorToThrow = errorToThrow;
    }
Deletes the entry at index {@code i}. Shifts any subsequent entries to the left (subtracts
one from their indices).
java_src/src/main/java/com/google/crypto/tink/KeysetHandle.java