- Sort Score
- Num 10 results
- Language All
Results 1021 - 1030 of 2,310 for rethrow (0.07 seconds)
-
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
@Override public boolean hasNext() { return true; // pretend that you have more... } @Override public E next() { // ...but throw an unchecked exception when you ask for it. if (!iterator.hasNext()) { throw new ThrowsAtEndException(); } return iterator.next(); } @Override public void remove() { iterator.remove(); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
collection.retainAll(target.toRetain); String message = Platform.format("retainAll(%s) should throw", target); fail(message); } catch (UnsupportedOperationException expected) { } } private void expectReturnsFalseOrThrows(Target target) { String message = Platform.format("retainAll(%s) should return false or throw", target); try { assertFalse(message, collection.retainAll(target.toRetain));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 10.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java
return getToolchainV3(v4Toolchain); } catch (ToolchainFactoryException e) { throw new MisconfiguredToolchainException(e.getMessage(), e); } } @Override public ToolchainPrivate createDefaultToolchain() { try {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 31 10:58:52 GMT 2025 - 11K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 9.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
throw new LlmException("noResultsSystemPrompt is not configured for " + getName()); } return noResultsSystemPrompt; } /** * Gets the system prompt for document-not-found responses. * * @return the document-not-found system prompt */ protected String getDocumentNotFoundSystemPrompt() { if (documentNotFoundSystemPrompt == null) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K bytes - Click Count (0) -
android/guava/src/com/google/common/math/IntMath.java
* int}, i.e. when {@code x > 2^30} * @since 20.0 */ public static int ceilingPowerOfTwo(int x) { checkPositive("x", x); if (x > MAX_SIGNED_POWER_OF_TWO) { throw new ArithmeticException("ceilingPowerOfTwo(" + x + ") not representable as an int"); } return 1 << -Integer.numberOfLeadingZeros(x - 1); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 26.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
public CrawlingInfo getLast(String sessionId) { return null; } @Override public void store(CrawlingInfo entity) { throw new RuntimeException("Database error"); } @Override public void storeInfo(List<CrawlingInfoParam> crawlingInfoParamList) { // Should not be called }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
* buildOrThrow(), or vice versa. So in particular, if we modify alternatingKeysAndValues to * eliminate duplicate keys (for buildKeepingLast()) then we have to ensure that a later call to * buildOrThrow() will still throw as if the duplicates had not been eliminated. And the exception * message must mention two values that were associated with the duplicate key in two different
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.5K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Types.java
} // If any other method appears or if we forgot one, include it in the exception message: throw new UnsupportedOperationException(methodName); } else { try { return typeVariableMethod.invoke(typeVariableImpl, args); } catch (InvocationTargetException e) { throw e.getCause(); } } } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
referralData.setKey("key"); // Should not throw exception referralData.replaceCache(); } @Test @DisplayName("Should not replace cache when key is null") void testReplaceCacheWithNullKey() { referralData.setCacheMap(cacheMap); // Should not throw exception referralData.replaceCache();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0)