- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 2,310 for rethrow (0.25 seconds)
-
src/main/java/org/codelibs/core/naming/InitialContextUtil.java
* * @return the initial context */ public static InitialContext create() { try { return new InitialContext(); } catch (final NamingException ex) { throw new NamingRuntimeException(ex); } } /** * Creates and returns an initial context using the specified environment. * * @param envCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java
* * <p>This exception can be thrown with a message, a cause, or both.</p> * * <pre> * Example usage: * throw new SuggestIndexException("Indexing error occurred"); * throw new SuggestIndexException(new IOException("IO error")); * throw new SuggestIndexException("Indexing error", new IOException("IO error")); * </pre> * * @see SuggesterException */
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
public Integer getJobMaxCrawlerProcessesAsInteger() { return 5; } }); try { crawlJob.execute(); fail("Should throw JobProcessingException"); } catch (JobProcessingException e) { assertTrue(e.getMessage().contains("10 crawler processes are running")); assertTrue(e.getMessage().contains("Max processes are 5"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25K bytes - Click Count (0) -
android/guava/src/com/google/common/math/ToDoubleRounder.java
case HALF_UP: return (sign(x) >= 0) ? roundCeilingAsDouble : roundFloorAsDouble; default: throw new AssertionError("impossible"); } } } throw new AssertionError("impossible"); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:51:56 GMT 2026 - 5.7K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
try { server.start(); } catch (final Exception e) { throw new CrawlerSystemException(e); } } public void stop() { try { server.stop(); server.join(); } catch (final Exception e) { throw new CrawlerSystemException(e); } finally { if (tempDocRoot) { docRoot.delete();Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 5.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java
// Should return false for any field, not throw exception assertFalse(queryFieldConfig.isSortField("anyfield")); assertFalse(queryFieldConfig.isSortField("score")); assertFalse(queryFieldConfig.isSortField("")); } /** * Test isFacetField with empty array - should return false, not throw exception. * This test addresses the Copilot AI concern about empty arrays.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
SocketInputStream sis = new SocketInputStream(in); // Try to skip more than available // Skip uses read internally, which may throw IOException when it tries to read the next header try { long skipped = sis.skip(10); // If it doesn't throw, it should only skip what's available assertEquals(3, skipped); } catch (IOException e) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java
try { aClass = Class.forName(type); if (DefaultTask.class.isAssignableFrom(aClass) == false) { throw new IllegalArgumentException("Not a task type: " + type); } } catch (ClassNotFoundException e) { throw new IllegalArgumentException("No such task: " + type); } return (Class<? extends DefaultTask>) aClass; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 29 15:07:50 GMT 2021 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
if (is == null) { throw new IOException("Resource not found: non/existent/resource.json"); } // This line should not be reached new String(is.readAllBytes(), StandardCharsets.UTF_8); fail("Should throw IOException for missing resource"); } } catch (IOException e) {
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
if (StringUtil.isBlank(url)) { throw new PluginException("url is blank: " + artifact.getName()); } if (url.startsWith("http:") || url.startsWith("https:")) { try (final CurlResponse response = createCurlRequest(url).execute()) { if (response.getHttpStatusCode() != 200) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Mar 04 15:19:41 GMT 2026 - 25.1K bytes - Click Count (0)