- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 269 for IllegalStateException (0.07 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
} @Override public void merge(ArtifactMetadata metadata) { ProjectArtifactMetadata m = (ProjectArtifactMetadata) metadata; if (!m.file.equals(file)) { throw new IllegalStateException("Cannot add two different pieces of metadata for: " + getKey()); } } @Override public void merge(org.apache.maven.repository.legacy.metadata.ArtifactMetadata metadata) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiReaderTest.java
CharSource reader = new CharSource() { @Override public Reader openStream() throws IOException { if (counter[0]++ != 0) { throw new IllegalStateException("More than one source open"); } return new FilterReader(source.openStream()) { @Override public void close() throws IOException { super.close();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
} @Override public Set<Feature<? super Collection>> getImpliedFeatures() { return implied; } public int getNumElements() { if (numElements == null) { throw new IllegalStateException( "A compound CollectionSize doesn't specify a number of elements."); } return numElements; } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
} @Override public Set<Feature<? super Collection>> getImpliedFeatures() { return implied; } public int getNumElements() { if (numElements == null) { throw new IllegalStateException( "A compound CollectionSize doesn't specify a number of elements."); } return numElements; } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java
RepositorySystem repositorySystem; try { repositorySystem = container.lookup(RepositorySystem.class); } catch (ComponentLookupException e) { throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName()); } if (mirrors) { repositorySystem.injectMirror(session, repositories); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* without exceeding the queue's capacity, returning {@code true} upon success and throwing an * {@code IllegalStateException} if this queue is full. * * @param e the element to add * @return {@code true} (as specified by {@link Collection#add}) * @throws IllegalStateException if this queue is full * @throws NullPointerException if the specified element is null */ @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
public void test_causeChainPropagation() { // Setup - create a chain of exceptions final Exception rootCause = new IllegalArgumentException("Root cause"); final Exception middleCause = new IllegalStateException("Middle cause", rootCause); final String message = "Top level SSO error"; final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsSsoLoginError(UserMessages.GLOBAL_PROPERTY_KEY);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
* the class loader that loaded this class is returned. * </p> * * @param targetClass the target class (must not be {@literal null}) * @return the class loader * @throws IllegalStateException if the class loader could not be obtained */ public static ClassLoader getClassLoader(final Class<?> targetClass) { assertArgumentNotNull("targetClass", targetClass);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
ByteSource checker = new ByteSource() { @Override public InputStream openStream() throws IOException { if (counter[0]++ != 0) { throw new IllegalStateException("More than one source open"); } return new FilterInputStream(source.openStream()) { @Override public void close() throws IOException { super.close();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.6K bytes - Viewed (0)