- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 1,783 for exception (0.23 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphTransformationException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.repository.metadata; /** */ @Deprecated public class MetadataGraphTransformationException extends Exception { private static final long serialVersionUID = -4029897098314019152L; public MetadataGraphTransformationException() {} public MetadataGraphTransformationException(String message) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.4K bytes - Click Count (0) -
tests/test_dependency_after_yield_raise.py
from typing import Annotated, Any import pytest from fastapi import Depends, FastAPI, HTTPException from fastapi.testclient import TestClient class CustomError(Exception): pass def catching_dep() -> Any: try: yield "s" except CustomError as err: raise HTTPException(status_code=418, detail="Session error") from err def broken_dep() -> Any: yield "s"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java
MetadataGraphVertex v3; MetadataGraphVertex v4; // ------------------------------------------------------------------------------------------ @BeforeEach void setUp() throws Exception { /* * v2 * v1< * v3-v4 * */ graph = new MetadataGraph(4, 3); v1 = graph.addVertex(new ArtifactMetadata("g", "a1", "1.0"));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 8.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilderTest.java
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.apache.maven.execution.AbstractExecutionListener; import org.apache.maven.execution.DefaultMavenExecutionRequest; import org.apache.maven.execution.DefaultMavenExecutionResult; import org.apache.maven.execution.MavenExecutionRequest; import org.apache.maven.execution.MavenSession; import org.apache.maven.lifecycle.LifecycleExecutionException;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
* throws an {@code ExecutableException} and that the cause of the {@code ExecutableException} is * {@code expectedCause}. */ public void assertException(Throwable expectedCause) throws Exception { // Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { future.get();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/SneakyThrows.java
* fact the static type of {@link Throwable} is occasionally justified even for a method with no * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a * method propagate untouched, just as we'd typically let it do for a non-reflective call.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Feb 03 21:52:39 GMT 2025 - 2.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
* * Request request = new Request.Builder() * .url("https://" + hostname) * .build(); * client.newCall(request).execute(); * ``` * * As expected, this fails with a certificate pinning exception: * * ```java * javax.net.ssl.SSLPeerUnverifiedException: Certificate pinning failure! * Peer certificate chain: * sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=: CN=publicobject.com, OU=PositiveSSL
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 14.1K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/net/HttpHeadersTest.java
/** * Tests for the HttpHeaders class. * * @author Kurt Alfred Kluever */ @NullUnmarked public class HttpHeadersTest extends TestCase { public void testConstantNameMatchesString() throws Exception { // Special case some of the weird HTTP Header names... ImmutableBiMap<String, String> specialCases = ImmutableBiMap.<String, String>builder() .put("CDN_LOOP", "CDN-Loop")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/PackageSanityTests.java
/** * Basic sanity tests for the entire package. * * @author Ben Yu */ @NullUnmarked public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() throws Exception { DummySubscriber dummySubscriber = new DummySubscriber(); setDefault(Subscriber.class, dummySubscriber.toSubscriber()); setDefault(Method.class, DummySubscriber.subscriberMethod());Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java
private static final String RESULT_DATA = "SUCCESS"; private static final UndeclaredThrowableException WRAPPED_EXCEPTION = new UndeclaredThrowableException(EXCEPTION); @Override protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) { return transform(inputFuture, new ComposeFunction(), directExecutor()); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0)