Delete InvalidIteratorException

Summary:
InvalidIteratorException is not used in java, kotlin nor C++. This diff just removes this class

This is not a breaking change due to the lack of usages

changelog: [internal] internal

Reviewed By: javache

Differential Revision: D72090837

fbshipit-source-id: 75aa4a8d2c1abbeb32bd38e5e60cbf7f04be823e
This commit is contained in:
David Vacca
2025-04-10 17:57:13 -07:00
committed by Facebook GitHub Bot
parent 767462a910
commit df0e479644
@@ -1,27 +0,0 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.bridge
import com.facebook.proguard.annotations.DoNotStrip
import com.facebook.react.common.annotations.internal.LegacyArchitecture
import com.facebook.react.common.annotations.internal.LegacyArchitectureLogger
/**
* Exception thrown by [ReadableMapKeySetIterator.nextKey] when the iterator tries to iterate over
* elements after the end of the key set.
*/
@DoNotStrip
@LegacyArchitecture
internal class InvalidIteratorException @DoNotStrip constructor(msg: String) :
RuntimeException(msg) {
private companion object {
init {
LegacyArchitectureLogger.assertLegacyArchitecture("InvalidIteratorException")
}
}
}