- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 1,188 for Exception (0.07 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/Goal.java
* under the License. */ package org.apache.maven.cling.invoker.mvnup; /** * The mvnup tool goal. */ public interface Goal { int execute(UpgradeContext context) throws Exception;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 971 bytes - Click Count (0) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
} /*--- START test common metadata ---*/ @Test void mergeEmptyMetadata() throws Exception { Metadata metadata = new Metadata(); assertFalse(metadata.merge(new Metadata())); } @Test void mergeDifferentGAV() throws Exception { // merge implicitly assumes that merge is only called on the same GAV and does not perform any validation here!Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 13.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ObjectsTest.java
"EqualsLong", // b/273939864 "EqualsDouble", // b/273939864 "EqualsFloat", // b/273939864 "YodaCondition", // test of reversed call }) public void testEqual() throws Exception { assertTrue(Objects.equal(1, 1)); assertTrue(Objects.equal(null, null)); // test distinct string objects String s1 = "foobar"; String s2 = new String(s1); assertTrue(Objects.equal(s1, s2));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/PackageSanityTests.java
setDefault(EndpointPair.class, EndpointPair.ordered("A", "B")); } @Override public void testNulls() throws Exception { try { super.testNulls(); } catch (AssertionError e) { assertWithMessage("Method did not throw null pointer OR element not in graph exception.") .that(e) .hasCauseThat() .hasMessageThat() .contains(ERROR_ELEMENT_NOT_IN_GRAPH); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 3.2K bytes - Click Count (0) -
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) -
samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java
import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class SynchronousGet { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java
} @Override protected void lookup(EncryptContext context) throws Exception { if (context.goals == null) { super.lookup(context); context.goals = context.lookup.lookupMap(Goal.class); } } @Override protected int execute(EncryptContext context) throws Exception { try { context.header = new ArrayList<>();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java
} @Override protected void lookup(UpgradeContext context) throws Exception { if (context.goals == null) { super.lookup(context); context.goals = context.lookup.lookupMap(Goal.class); } } @Override protected int execute(UpgradeContext context) throws Exception { try { context.header = new ArrayList<>();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
Files.deleteIfExists(path); } catch (Exception e) { // Ignore cleanup errors } }); } catch (Exception e) { // Ignore cleanup errors } } } } @Nested
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 4.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactDoesNotExistException.java
* under the License. */ package org.apache.maven.repository; /** * ArtifactDoesNotExistException */ @Deprecated public class ArtifactDoesNotExistException extends Exception { public ArtifactDoesNotExistException(final String message) { super(message); } public ArtifactDoesNotExistException(final String message, final Throwable cause) { super(message, cause);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0)