- Sort Score
- Result 10 results
- Languages All
Results 791 - 800 of 2,976 for throw (0.02 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
} resultData.setEncoding(charsetName); return resultData; } catch (final CrawlerSystemException e) { throw e; } catch (final Exception e) { throw new CrawlerSystemException("Could not store data.", e); } } /** * Retrieves a list of XPath nodes from the document. *
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 23.9K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
} catch (Exception e) { throw new CompletionException(e); } }); futures.add(future); } // Wait for all reads to complete try { CompletableFuture.allOf(futures.toArray(new CompletableFuture[0])) .get(30, TimeUnit.SECONDS); } catch (Exception e) { throw new IOException("Multi-channel read failed", e); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
URL resourceUrl = cloader.getResource(resource); if (resourceUrl == null) { throw new FileNotFoundException("Unable to find: " + resource); } return new File(resourceUrl.toURI()); } protected ArtifactRepository getLocalRepository() throws Exception { ArtifactRepositoryLayout repoLayout = getContainer().lookup(ArtifactRepositoryLayout.class);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 20:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ComponentUtilTest.java
ComponentUtil.getJobExecutor("testJobExecutor"); fail("Should throw exception"); } catch (Exception e) { // Expected } } public void test_getJobExecutor_withoutSuffix() { try { ComponentUtil.getJobExecutor("test"); fail("Should throw exception"); } catch (Exception e) { // Expected } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
} public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "SSO configuration error"; try { throw new SsoProcessException(expectedMessage); } catch (SsoProcessException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
@Override protected URLConnection openConnection(URL url) throws IOException { url = new URL(url, url.toExternalForm(), getDefaultStreamHandler(url.getProtocol())); return new NtlmHttpURLConnection((HttpURLConnection) url.openConnection(), this.transportContext); } private static URLStreamHandler getDefaultStreamHandler(final String protocol) throws IOException { synchronized (PROTOCOL_HANDLERS) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
} @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGet_nullNotContainedAndUnsupported() { try { assertNull("get(null) should return null or throw", get(null)); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testGet_nonNullWhenNullContained() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
} @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES) public void testFind_nullNotContainedAndUnsupported() { try { assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null)); } catch (NullPointerException tolerated) { } } @CollectionFeature.Require(ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testFind_nonNullWhenNullContained() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
.github/workflows/create_issue.js
const pr_match_groups = context.payload.head_commit.message.match(/\Rollback of PR #(\d+).*/) || []; if (pr_match_groups.length != 2) { console.log(`PR Number not found in ${context.payload.head_commit.message}`); throw "Error extracting PR Number from commit message"; } const pr_number = parseInt(pr_match_groups[1]); const owner = context.payload.repository.owner.name; const repo = context.payload.repository.name;
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Oct 18 23:04:59 UTC 2021 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/JvmUtilTest.java
try { JvmUtil.getJavaVersion(); fail("Should throw NumberFormatException"); } catch (NumberFormatException e) { // Expected } // Test with invalid format System.setProperty("java.version", "invalid"); try { JvmUtil.getJavaVersion(); fail("Should throw NumberFormatException"); } catch (NumberFormatException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.4K bytes - Viewed (0)