- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for IllegalStateException (0.09 sec)
-
guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfWrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfModifiedSet)); assertThrows(IllegalStateException.class, () -> wrappedSet.equals(setToTest)); assertThrows(IllegalStateException.class, () -> copyOfWrappedSet.equals(setToTest));
Registered: 2025-05-30 12:43 - Last Modified: 2024-12-19 18:03 - 2.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
Iterator<String> iterator = iterable.iterator(); assertFalse(iterator.hasNext()); assertThrows(NoSuchElementException.class, () -> iterator.next()); assertThrows(IllegalStateException.class, () -> iterable.iterator()); } public void testOf_one() { Iterable<String> iterable = MinimalIterable.of("a"); Iterator<String> iterator = iterable.iterator(); assertTrue(iterator.hasNext());
Registered: 2025-05-30 12:43 - Last Modified: 2024-10-30 16:15 - 2.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
* problem or timeout. Because networks can fail during an exchange, it is possible that the * remote server accepted the request before the failure. * @throws IllegalStateException when the call has already been executed. */ @Throws(IOException::class) fun execute(): Response /** * Schedules the request to be executed at some point in the future. *
Registered: 2025-05-30 11:42 - Last Modified: 2024-12-27 13:39 - 3.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
.put(ExecutionException.class, e -> e instanceof ExecutionException) .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException) .put(IllegalStateException.class, e -> e instanceof IllegalStateException) .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException) .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
Registered: 2025-05-30 12:43 - Last Modified: 2024-12-22 03:38 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClIllegalStateException.java
* governing permissions and limitations under the License. */ package org.codelibs.core.exception; /** * {@link IllegalStateException}をラップする例外です。 * * @author wyukawa */ public class ClIllegalStateException extends IllegalStateException { private static final long serialVersionUID = -2154525994315946504L; /** * {@link ClIllegalStateException}を作成します。 */
Registered: 2025-05-24 08:58 - Last Modified: 2025-05-10 01:32 - 1.8K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt
* limitations under the License. */ package okhttp3.internal.platform import android.content.Context import android.os.Build import java.lang.IllegalStateException import okhttp3.internal.platform.android.AndroidLog actual object PlatformRegistry { actual fun findPlatform(): Platform { AndroidLog.enable() val androidPlatform =
Registered: 2025-05-30 11:42 - Last Modified: 2025-05-29 16:52 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfWrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfModifiedSet)); assertThrows(IllegalStateException.class, () -> wrappedSet.equals(setToTest)); assertThrows(IllegalStateException.class, () -> copyOfWrappedSet.equals(setToTest));
Registered: 2025-05-30 12:43 - Last Modified: 2024-12-19 18:03 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/graph/InvalidatableSet.java
import com.google.common.base.Supplier; import com.google.common.collect.ForwardingSet; import java.util.Set; /** * A subclass of `ForwardingSet` that throws `IllegalStateException` on invocation of any method * (except `hashCode` and `equals`) if the provided `Supplier` returns false. */ final class InvalidatableSet<E> extends ForwardingSet<E> { private final Supplier<Boolean> validator;
Registered: 2025-05-30 12:43 - Last Modified: 2025-01-30 16:59 - 1.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt
assertThat(checkDuration("timeout", 0, TimeUnit.MILLISECONDS)).isEqualTo(0) assertThat(checkDuration("timeout", 1, TimeUnit.MILLISECONDS)).isEqualTo(1) assertThat( assertThrows<IllegalStateException> { checkDuration("timeout", -1, TimeUnit.MILLISECONDS) }, ).hasMessage("timeout < 0") assertThat( assertThrows<IllegalArgumentException> {
Registered: 2025-05-30 11:42 - Last Modified: 2024-12-27 13:39 - 3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
/** * Gets the root directory of the session, which is the root directory for the top directory project. * * @return the root directory, never {@code null} * @throws IllegalStateException if the root directory could not be found * @see #getTopDirectory() * @see Project#getRootDirectory() * @see Project#isRootProject() */ @Nonnull Path getRootDirectory(); /**
Registered: 2025-05-24 08:56 - Last Modified: 2024-12-12 11:02 - 7K bytes - Viewed (0)