- Sort Score
- Result 10 results
- Languages All
Results 1161 - 1170 of 2,367 for Exceptions (0.1 sec)
-
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);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 4.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
return response.request().newBuilder() .header("Authorization", credential) .build(); }) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("http://publicobject.com/secrets/hellosecret.txt") .build(); try (Response response = client.newCall(request).execute()) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 1.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java
import okhttp3.tls.HandshakeCertificates; import okhttp3.tls.HeldCertificate; /** * Create an HTTPS server with a self-signed certificate that OkHttp trusts. */ public class HttpsServer { public void run() throws Exception { HeldCertificate localhostCertificate = new HeldCertificate.Builder() .addSubjectAlternativeName("localhost") .build(); HandshakeCertificates serverCertificates = new HandshakeCertificates.Builder()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 02 14:04:37 UTC 2023 - 2.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecyclePhaseNotFoundException.java
package org.apache.maven.lifecycle; /** * Signals a failure to locate the lifecycle for some phase. * */ public class LifecyclePhaseNotFoundException extends Exception { private final String lifecyclePhase; /** * Creates a new exception to indicate that the specified lifecycle phase is not defined by any known lifecycle. * * @param message The detail message, may be {@code null}.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java
runner.ensureYellow(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { runner.admin().indices().prepareDelete("_all").execute().actionGet(); runner.refresh();
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 13:04:17 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java
public void testRemove_nullKeyQueriesUnsupported() { try { assertFalse(getMap().remove(null, v3())); } catch (NullPointerException tolerated) { // since the operation would be a no-op, the exception is not required } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES) public void testRemove_nullValueQueriesUnsupported() { try {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
public void testRemove_nullKeyQueriesUnsupported() { try { assertFalse(getMap().remove(null, v3())); } catch (NullPointerException tolerated) { // since the operation would be a no-op, the exception is not required } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES) public void testRemove_nullValueQueriesUnsupported() { try {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java
import java.io.IOException; import java.io.InputStream; import java.util.jar.JarEntry; import java.util.jar.JarInputStream; import org.codelibs.core.exception.IORuntimeException; /** * Utility class for {@link JarInputStream} operations. * * @author koichik */ public abstract class JarInputStreamUtil { /** * Do not instantiate. */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exbhv/ScheduledJobBhv.java
return indexName; } @Override public OptionalEntity<ScheduledJob> selectByPK(final String id) { Exception lastException = null; for (int i = 0; i < 30; i++) { try { return super.selectByPK(id); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to select a job by {}", id, e); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java
* under the License. */ package org.apache.maven.cli.internal; import org.apache.maven.cli.internal.extension.model.CoreExtension; /** * Exception occurring trying to resolve a plugin. * */ @Deprecated public class ExtensionResolutionException extends Exception { private final CoreExtension extension; public ExtensionResolutionException(CoreExtension extension, Throwable cause) { super(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 2.4K bytes - Viewed (0)