- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 1,052 for Exception (0.09 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java
import org.apache.maven.internal.impl.DefaultLifecycleRegistry; import org.apache.maven.internal.impl.DefaultLookup; import org.codehaus.plexus.PlexusContainer; import org.codehaus.plexus.component.repository.exception.ComponentLookupException; import org.codehaus.plexus.testing.PlexusTest; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.Mockito.mock;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/model/ModelBuilderTest.java
@Inject RepositorySystemSessionFactory repositorySessionFactory; @Inject RepositorySystem repositorySystem; @Test void testModelBuilder() throws Exception { MavenExecutionRequest mavenRequest = new DefaultMavenExecutionRequest(); mavenRequest.setLocalRepository(mavenRepositorySystem.createLocalRepository(new File("target/test-repo/")));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
* <li>To treat {@link InterruptedException} uniformly with other exceptions, use {@link * Futures#getChecked(Future, Class) Futures.getChecked}. * <li>To get uninterruptibility and remove checked exceptions, use {@link * Futures#getUnchecked}. * </ul> * * @throws ExecutionException if the computation threw an exception * @throws CancellationException if the computation was cancelled */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
assertTrue(latch.await(5, SECONDS)); assertTrue(future.isDone()); assertFalse(future.isCancelled()); try { future.get(); fail("Future should rethrow the exception."); } catch (ExecutionException e) { assertThat(e).hasCauseThat().hasMessageThat().isEqualTo(message); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 3.3K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java
/** * Contains metadata about an artifact, and methods to retrieve/store it from an artifact repository. * TODO merge with artifactmetadatasource * TODO retrieval exception not appropriate for store * */ public interface ArtifactMetadata { /** * Whether this metadata should be stored alongside the artifact. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 37K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Optional.java
* java.util.NoSuchElementException NoSuchElementException}. * * @throws IllegalStateException if the instance is absent ({@link #isPresent} returns {@code * false}); depending on this <i>specific</i> exception type (over the more general {@link * RuntimeException}) is discouraged */ public abstract T get(); /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Verify.java
* considered "compiled comments." * <li>An explicit {@code if/throw} (as illustrated below) is always acceptable; we still * recommend using our {@link VerifyException} exception type. Throwing a plain {@link * RuntimeException} is frowned upon. * <li>Use of {@link java.util.Objects#requireNonNull(Object)} is generally discouraged, since
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 18.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
// // Note: According to the spec, a NumberFormatException is thrown for a number that is not // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix. // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case // (which seems to make more sense). try { UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1); fail();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
* in the case of Android, the current app. If that is not possible (as is the case under the very * old Android Ice Cream Sandwich release), then this class throws an exception instead of creating * a file or directory that would be more accessible. */ @J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible abstract class TempFileCreator {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 29 18:50:14 GMT 2025 - 11.8K bytes - Click Count (0)