- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 1,188 for Exception (0.06 seconds)
-
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
} @J2ktIncompatible @GwtIncompatible public void testAsAsyncCallable_exception() throws Exception { Exception expected = new IllegalArgumentException(); Callable<String> callable = new Callable<String>() { @Override public String call() throws Exception { throw expected; } }; AsyncCallable<String> asyncCallable =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 4.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
new CertificatePinner.Builder() .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=") .build()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/robots.txt") .build(); try (Response response = client.newCall(request).execute()) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Dec 08 21:30:01 GMT 2019 - 1.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginArtifactsCache.java
return exception; } private final PluginResolutionException exception; public CacheRecord(List<Artifact> artifacts) { this.artifacts = artifacts; this.exception = null; } public CacheRecord(PluginResolutionException exception) { this.artifacts = null; this.exception = exception; } }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.1K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java
/** * Send a message (and accompanying exception) to the user in the <b>debug</b> error level.<br> * The error's stacktrace will be output when this error level is enabled. * * @param content * @param error */ void debug(CharSequence content, Throwable error); /** * Send an exception to the user in the <b>debug</b> error level.<br>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java
} @Test void testLifecyclePluginsRetrievalForDefaultLifecycle() throws Exception { List<Plugin> plugins = new ArrayList<>(lifecycleExecutor.getPluginsBoundByDefaultToAllLifecycles("jar")); assertEquals(8, plugins.size(), plugins.toString()); } @Test void testPluginConfigurationCreation() throws Exception { File pom = getProject("project-with-additional-lifecycle-elements");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 22.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
@Override public Integer call() throws Exception { runLatch.countDown(); taskLatch.await(); if (throwException) { throw new IllegalStateException("Fail"); } return 25; } }); @Override protected void setUp() throws Exception { super.setUp(); exec = newCachedThreadPool();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 4.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
} @Test void testNullSafe() throws Exception { Profile p = Profile.newInstance(); assertActivation(false, p, newContext(null, null)); p = p.withActivation(Activation.newInstance()); assertActivation(false, p, newContext(null, null)); } @Test void testWithNameOnlyUserProperty() throws Exception { Profile profile = newProfile("prop", null);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
/** * Classes and futures used in {@link FuturesGetCheckedTest} and {@link FuturesGetUncheckedTest}. */ @GwtCompatible @NullUnmarked final class FuturesGetCheckedInputs { static final Exception CHECKED_EXCEPTION = new Exception("mymessage"); static final Future<String> FAILED_FUTURE_CHECKED_EXCEPTION = immediateFailedFuture(CHECKED_EXCEPTION); static final RuntimeException UNCHECKED_EXCEPTION = new RuntimeException("mymessage");Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
} } } @Test @Throws(Exception::class) fun compressedMessages() { successfulExtensions("permessage-deflate") } @Test @Throws(Exception::class) fun compressedMessagesNoClientContextTakeover() { successfulExtensions("permessage-deflate; client_no_context_takeover") } @Test @Throws(Exception::class) fun compressedMessagesNoServerContextTakeover() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
envVarMap.put("testSpecialCharactersKey", "<test&Value>"); OperatingSystemUtils.setEnvVarSource(new TestEnvVarSource(envVarMap)); } @Test void testBuildEmptyRequest() throws Exception { ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest(); ToolchainsBuildingResult result = toolchainBuilder.build(request); assertNotNull(result.getEffectiveToolchains());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0)