- Sort Score
- Num 10 results
- Language All
Results 1151 - 1160 of 2,310 for rethrow (0.15 seconds)
-
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
problems.setSource(""); userToolchains = interpolate(userToolchains, problems); if (hasErrors(problems.getProblems())) { throw new ToolchainsBuildingException(problems.getProblems()); } return new DefaultToolchainsBuildingResult(userToolchains, problems.getProblems()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 09:37:42 GMT 2025 - 7.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerBuildTask.java
} } // If we successfully ran `docker pull` above, we would have returned before this point. throw new GradleException("Failed to pull Docker base image [" + baseImage + "], all attempts failed"); } @Override public void execute() { final Parameters parameters = getParameters();Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multiset.java
* elements. This is simply a refinement of {@code Collection}'s constructor recommendations. * * <p>As with other collection types, the modification operations are optional, and should throw * {@link UnsupportedOperationException} when they are not implemented. Most implementations should * support either all add operations or none of them, all removal operations or none of them, and ifCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 19.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
public void test_throwAndCatch() { // Test throwing and catching the exception int expectedStatusCode = 403; String expectedMessage = "Access denied"; try { throw new WebApiException(expectedStatusCode, expectedMessage); } catch (WebApiException e) { assertEquals(expectedStatusCode, e.getStatusCode()); assertEquals(expectedMessage, e.getMessage());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
@Test public void test_exceptionThrown() { // Test that the exception can be thrown and caught properly String expectedMessage = "Command execution error occurred"; try { throw new CommandExecutionException(expectedMessage); } catch (CommandExecutionException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java
assertEquals("LogicImpl", result[5]); } // Test toBeDisposable with null process @Test public void test_toBeDisposable_nullProcess() { // Should not throw exception invokerAssistant.toBeDisposable(null); } // Test toBeDisposable with valid process @Test public void test_toBeDisposable_validProcess() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
if (backingMap.modCount != expectedModCount) { throw new ConcurrentModificationException(); } } @Override public boolean hasNext() { checkForConcurrentModification(); return entryIndex >= 0; } @Override @ParametricNullness public T next() { if (!hasNext()) { throw new NoSuchElementException(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
void zeroSizedCacheDoesNotStore() { BufferCacheImpl impl = new BufferCacheImpl(0, 8); byte[] supplied = new byte[3]; supplied[0] = 1; supplied[1] = 2; // Release must not throw and must zero the supplied array assertDoesNotThrow(() -> impl.releaseBuffer(supplied)); for (byte value : supplied) { assertEquals(0, value, "Released buffer must be zeroed even if not cached");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
builder.add(updateRequest); } return builder.execute(); }); if (bulkResponse.hasFailures()) { throw new OpenSearchAccessException(bulkResponse.buildFailureMessage()); } final String sid = scrollId;
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 16.9K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
case NEW: case RUNNABLE: case WAITING: Thread.yield(); break; case TIMED_WAITING: return; case TERMINATED: throw new AssertionError(); } } } public void testDirectExecutorService_shutdownNow() { ExecutorService executor = newDirectExecutorService();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0)