- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 2,310 for rethrow (0.07 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
plugin, goal, project.getRemotePluginRepositories(), session.getRepositorySession()); } catch (MavenException e) { throw e; } catch (Exception e) { throw new MavenException(e); } } private MojoDescriptor getMojoDescriptor(MavenProject project, String task) { try {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
if (failureThreshold < 1) { throw new IllegalArgumentException("Failure threshold must be at least 1"); } if (successThreshold < 1) { throw new IllegalArgumentException("Success threshold must be at least 1"); } if (timeoutMillis < 0) { throw new IllegalArgumentException("Timeout must be non-negative"); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
final String p = loc.getURL().getPath(); if (p.lastIndexOf('/') != p.length() - 1) { throw new SmbException(loc.getURL() + " directory must end with '/'"); } if (unc.lastIndexOf('\\') != unc.length() - 1) { throw new SmbException(unc + " UNC must end with '\\'"); } final SmbTreeHandleImpl th = getTreeHandle();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
if (exception != null) { throw new ExecutionException(exception); } else { return value; } case CANCELLED: case INTERRUPTED: throw cancellationExceptionWithCause("Task was cancelled.", exception); default: throw new IllegalStateException("Error, synchronizer in invalid state: " + state);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java
return lastResultOutput.contains("Cannot connect to the Docker daemon") == false; } /** * Given a list of tasks that requires Docker, check whether Docker is available, otherwise throw an exception. * * @throws GradleException if Docker is not available. The exception message gives the reason. */ void failIfDockerUnavailable(List<String> tasks) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 14.8K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
// Tamper with the encrypted data encrypted[encrypted.length - 1] ^= 0xFF; // Should throw exception due to authentication tag failure assertThrows(GeneralSecurityException.class, () -> { storage.decryptCredentials(encrypted); }, "Should throw GeneralSecurityException when decrypting tampered data"); // Clean up Arrays.fill(plaintext, '\0'); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
() -> { throw new SomeError(); }, directExecutor()); assertThrows(SomeError.class, () -> input.set("foo")); } public void testTransformAsync_cancelPropagatesToInput() throws Exception { SettableFuture<Foo> input = SettableFuture.create(); AsyncFunction<Foo, Bar> function = unused -> { throw new AssertionFailedError("Unexpected call to apply.");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
() -> { throw new SomeError(); }, directExecutor()); assertThrows(SomeError.class, () -> input.set("foo")); } public void testTransformAsync_cancelPropagatesToInput() throws Exception { SettableFuture<Foo> input = SettableFuture.create(); AsyncFunction<Foo, Bar> function = unused -> { throw new AssertionFailedError("Unexpected call to apply.");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
} catch (TimeoutException expected) { } catch (ExecutionException e) { throw new AssertionError(e); } } static void verifyTimedGetOnPendingFuture(Future<?> future) { try { getUninterruptibly(future, 0, SECONDS); fail(); } catch (TimeoutException expected) { } catch (ExecutionException e) { throw new AssertionError(e); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0)