- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 1,520 for throws (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* strict, use {@link #reserialize}. * * @return the re-serialized object * @throws RuntimeException if the specified object was not successfully serialized or * deserialized * @throws AssertionFailedError if the re-serialized object is not equal to the original object, * or if the hashcodes are different. */ @CanIgnoreReturnValueCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
@Param({"0", "1", "5", "10"}) int numThreads; private final Set<Thread> blockedThreads = new HashSet<>(); @BeforeExperiment void setUp() throws Exception { if (state != State.NOT_DONE && (numListeners != 0 || numThreads != 0)) { throw new SkipThisScenarioException(); } } // This exclusion doesn't exclude the TOMBSTONE objects we set. So 'done' NEW futures will look // larger than they are.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3K bytes - Click Count (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();Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 02 14:04:37 GMT 2023 - 2.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java
import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class PerCallSettings { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay. .build(); // Copy to customize OkHttp for this request.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java
* {@code null}. * @throws BeanConfigurationException If the bean configuration could not be successfully processed. */ void configureBean(BeanConfigurationRequest request) throws BeanConfigurationException;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/PomArtifactTransformer.java
void injectTransformedArtifacts(RepositorySystemSession session, MavenProject currentProject) throws IOException; void transform(MavenProject project, RepositorySystemSession session, ModelSource src, Path tgt) throws ModelBuilderException, XMLStreamException, IOException;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; public class GraphTest { @Test public void testGraph() throws CycleDetectedException { Graph graph = new Graph(); graph.addVertex("a"); assertEquals(1, graph.getVertices().size()); assertEquals("a", graph.getVertex("a").getLabel());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
throws ModelInterpolationException { interpolateObject(model, model, projectDir, config, debugEnabled); return model; } protected void interpolateObject( Object obj, Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled) throws ModelInterpolationException { try {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 14.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java
private final OkHttpClient client; public ConfigureTimeouts() throws Exception { client = new OkHttpClient.Builder() .connectTimeout(5, TimeUnit.SECONDS) .writeTimeout(5, TimeUnit.SECONDS) .readTimeout(5, TimeUnit.SECONDS) .callTimeout(10, TimeUnit.SECONDS) .build(); } public void run() throws Exception { Request request = new Request.Builder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Sep 28 18:00:26 GMT 2019 - 1.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionListener.java
*/ public interface ProjectExecutionListener { void beforeProjectExecution(ProjectExecutionEvent event) throws LifecycleExecutionException; void beforeProjectLifecycleExecution(ProjectExecutionEvent event) throws LifecycleExecutionException; void afterProjectExecutionSuccess(ProjectExecutionEvent event) throws LifecycleExecutionException; void afterProjectExecutionFailure(ProjectExecutionEvent event);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0)