- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 277 for IllegalStateException (0.26 sec)
-
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
* このクラスをロードしたクラスローダを返します。 * </p> * * @param targetClass * ターゲット・クラス。{@literal null}であってはいけません * @return クラスローダ * @throws IllegalStateException * クラスローダを取得できなかった場合 */ public static ClassLoader getClassLoader(final Class<?> targetClass) { assertArgumentNotNull("targetClass", targetClass);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(asList("2", "3", "4"), list); assertFalse(list.isEmpty()); // An UnsupportedOperationException or IllegalStateException may occur. try { iterator.add("1"); fail("transformed list iterator is addable"); } catch (UnsupportedOperationException | IllegalStateException expected) { } try { iterator.set("1"); fail("transformed list iterator is settable");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(asList("2", "3", "4"), list); assertFalse(list.isEmpty()); // An UnsupportedOperationException or IllegalStateException may occur. try { iterator.add("1"); fail("transformed list iterator is addable"); } catch (UnsupportedOperationException | IllegalStateException expected) { } try { iterator.set("1"); fail("transformed list iterator is settable");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
deferDeleteFile(consumer); project.addAttachedArtifact(createConsumerPomArtifact(project, consumer, session)); } else if (project.getModel().getDelegate().isRoot()) { throw new IllegalStateException( "The use of the root attribute on the model requires the buildconsumer feature to be active"); } } TransformedArtifact createConsumerPomArtifact(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* operation is performed. (This differs from the {@code Collector} returned by {@link * Collectors#toMap(Function, Function)}, which throws an {@code IllegalStateException}.) * * @since 33.2.0 (available since 21.0 in guava-jre) */ @SuppressWarnings("Java7ApiChecker") @IgnoreJRERequirement // Users will use this only if they're already using streams.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 22.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java
*/ public class RepositorySystemSupplier implements Supplier<RepositorySystem> { private final AtomicBoolean closed = new AtomicBoolean(false); public RepositorySystemSupplier() {} private void checkClosed() { if (closed.get()) { throw new IllegalStateException("Supplier is closed"); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 45.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
assertEquals(expectedHashCode.asInt, hash.asInt()); if (expectedHashCode.asLong == null) { try { hash.asLong(); fail(); } catch (IllegalStateException expected) { } } else { assertEquals(expectedHashCode.asLong.longValue(), hash.asLong()); } assertEquals(expectedHashCode.toString, hash.toString()); assertSideEffectFree(hash);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java
* their lifecycle is shared as well: once supplied repository system is shut-down, this instance becomes closed as * well. Any subsequent {@code getXXX} method invocation attempt will fail with {@link IllegalStateException}. * * @since 4.0.0 * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Deprecated(since = "4.0.0") public class MavenRepositorySystemSupplier implements Supplier<RepositorySystem> {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 45.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java
return startTime; } @Override public Path getTopDirectory() { return null; } @Override public Path getRootDirectory() { throw new IllegalStateException(); } @Override public List<Project> getProjects() { return List.of(); } @Override public Map<String, Object> getPluginContext(Project project) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
@Test fun firstConnectionCrashesWithUncheckedException() { val plan0 = routePlanner.addPlan() plan0.tcpConnectThrowable = IllegalStateException("boom!") routePlanner.addPlan() // This plan should not be used. taskRunner.newQueue().execute("connect") { assertFailsWith<IllegalStateException> { finder.find() }.also { expected -> assertThat(expected).hasMessage("boom!") } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 24 04:40:49 UTC 2024 - 20.9K bytes - Viewed (0)