mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
767462a910
commit
df0e479644
-27
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user