- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 1,417 for exception (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
.build(); } private static Iterable<Striped<?>> allImplementations() { return concat(strongImplementations(), weakImplementations()); } public void testNull() throws Exception { for (Striped<?> striped : allImplementations()) { new NullPointerTester().testAllPublicInstanceMethods(striped); } } public void testSizes() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsule.java
*/ @Nonnull Optional<ClassLoader> currentThreadClassLoader(); /** * Performs a clean shutdown of backing container. */ @Override void close() throws Exception;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 31 20:56:58 GMT 2025 - 1.5K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java
package org.apache.maven.artifact.resolver; import java.util.ArrayList; import java.util.List; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.repository.ArtifactRepository; /** * Exception caused when one or more artifacts can not be resolved because they are not found in the * local or remote repositories. */ public class MultipleArtifactsNotFoundException extends ArtifactResolutionException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.4K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
public AbstractConflictResolverTest(String roleHint) throws Exception { this.roleHint = roleHint; } // TestCase methods ------------------------------------------------------- /* * @see junit.framework.TestCase#setUp() */ @BeforeEach public void setUp() throws Exception { conflictResolver = (ConflictResolver) container.lookup(ConflictResolver.ROLE, roleHint);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 26 19:31:34 GMT 2025 - 4.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java
private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { RequestBody requestBody = new RequestBody() { @Override public MediaType contentType() { return MEDIA_TYPE_MARKDOWN; } @Override public void writeTo(BufferedSink sink) throws IOException { sink.writeUtf8("Numbers\n"); sink.writeUtf8("-------\n");
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jul 06 03:18:15 GMT 2018 - 2.1K bytes - Click Count (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java
assertEquals("url cannot be null", e.getMessage()); } @Test void testGetInputStream() throws Exception { URL txtFile = new File("target/test-classes/source.txt").toURI().toURL(); UrlSource source = new UrlSource(txtFile); try (InputStream is = source.getInputStream();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolver.java
ArtifactVersion version2 = node2.getArtifact().getSelectedVersion(); return version1.compareTo(version2) <= 0 ? node1 : node2; } catch (OverConstrainedVersionException exception) { // TODO log message or throw exception? return null; } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
} /* * Tests for Predicates.alwaysFalse(). */ public void testAlwaysFalse_apply() throws Exception { assertEvalsToFalse(Predicates.alwaysFalse()); } public void testAlwaysFalse_equality() throws Exception { new EqualsTester() .addEqualityGroup(FALSE, Predicates.alwaysFalse()) .addEqualityGroup(isOdd())
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 32.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
Collection<String> set = new LinkedHashSet<>(); Collections.addAll(set, "a", "b", "c"); FluentIterable<String> tail = FluentIterable.from(set).skip(2); set.remove("a"); set.remove("b"); assertFalse(tail.iterator().hasNext()); } public void testSkip_structurallyModifiedSkipAllList() throws Exception { List<String> list = Lists.newArrayList("a", "b", "c");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 30.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* * <p>There is no guaranteed ordering of execution of listeners, but any listener added through * this method is guaranteed to be called once the computation is complete. * * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exceptionCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 8K bytes - Click Count (0)