- Sort Score
- Num 10 results
- Language All
Results 2021 - 2030 of 2,310 for rethrow (0.05 seconds)
-
guava-tests/test/com/google/common/math/BigDecimalMathTest.java
for (RoundingMode mode : modes) { Double previous = expectedValues.put(mode, expectedValue); if (previous != null) { throw new AssertionError(); } } return this; } @CanIgnoreReturnValue RoundToDoubleTester roundUnnecessaryShouldThrow() { unnecessaryShouldThrow = true; return this;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 11K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
} try { return new ByteArrayInputStream(contents.getBytes(encoding)); } catch (final UnsupportedEncodingException ex) { throw new IORuntimeException(ex); } } /** * Encodes the value of an attribute. * * @param s * The attribute value. * @return The encoded attribute value.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
try { SuggestCreator.initializeProbes(); // If no exception thrown, test passes assertTrue(true); } catch (Exception e) { fail("initializeProbes should not throw exception: " + e.getMessage()); } } // Test process with properties path @Test public void test_process_withPropertiesPath() { try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java
public void test_init() { DocumentHelper documentHelper = new DocumentHelper(); try { documentHelper.init(); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } @Test public void test_getTitle() { DocumentHelper documentHelper = new DocumentHelper();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 10.3K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/elasticsearch.ide.gradle
import java.nio.file.Files import java.nio.file.Paths import java.nio.file.StandardCopyOption allprojects { apply plugin: 'idea' tasks.named('idea').configure { doFirst { throw new GradleException("Use of the 'idea' task has been deprecated. For details on importing into IntelliJ see CONTRIBUTING.md.") } } } tasks.register('configureIdeCheckstyle') { group = 'ide'Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 24 19:34:12 GMT 2021 - 8.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
} } if (baseDir.mkdirs()) { logger.info("Created thumbnail directory: {}", baseDir.getAbsolutePath()); } if (!baseDir.isDirectory()) { throw new FessSystemException("Not found: " + baseDir.getAbsolutePath()); } if (logger.isDebugEnabled()) { logger.debug("Thumbnail Directory: {}", baseDir.getAbsolutePath()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 27.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
generator.setCommandList(Collections.singletonList("echo test")); try { generator.generate("test_id", null); fail("Should throw exception for null output file"); } catch (final Exception e) { assertTrue(true); } } @Test public void test_generate_thumbnailId_null() throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* the response to set */ @Override public final void setResponse(final CommonServerMessageBlockResponse response) { if (!(response instanceof ServerMessageBlock)) { throw new IllegalArgumentException(); } this.response = (ServerMessageBlock) response; } /** * {@inheritDoc} * * @see jcifs.util.transport.Request#isCancel() */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
byte[] buffer = new byte[10]; // Too small for SmbInfoAllocation // Set dataCount setDataCount(response, 10); // This should throw an exception during decode assertThrows(Exception.class, () -> { response.readDataWireFormat(buffer, 0, 10); }); } @Test void testToString() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0)