- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 3,747 for throw (0.02 seconds)
-
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
} /** * Updates the dictionary file with content from the input stream. * @param in the input stream containing the new content * @throws IOException if an I/O error occurs */ public synchronized void update(final InputStream in) throws IOException { try (ProtwordsUpdater updater = new ProtwordsUpdater(null)) { reload(updater, in); } } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
private ScriptEngineFactory scriptEngineFactory; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); scriptEngineFactory = new ScriptEngineFactory(); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } // Test constructor @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java
public void test_execute_withNonPhraseQuery() { // Test with non-phrase query - should throw InvalidQueryException Query termQuery = new TermQuery(new Term("field", "value")); QueryContext context = new QueryContext("test", false); try { queryCommand.execute(context, termQuery, 1.0f); fail("Should throw InvalidQueryException for non-phrase query"); } catch (InvalidQueryException e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.3K bytes - Click Count (0) -
guava/src/com/google/common/cache/LoadingCache.java
* and should not be used with cache loaders which throw checked exceptions. In such cases use * {@link #get} instead. * * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As * explained in the last paragraph above, this should be an unchecked exception only.) * @throws ExecutionError if an error was thrown while loading the value */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
void testCircuitReopensOnFailureInHalfOpen() throws Exception { // Open the circuit circuitBreaker.tripBreaker(); // Wait for timeout Thread.sleep(150); // Single failure in HALF_OPEN should reopen try { circuitBreaker.call(() -> { throw new RuntimeException("Test failure"); });
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
return certificates.single() as X509Certificate } catch (e: NoSuchElementException) { throw IllegalArgumentException("failed to decode certificate", e) } catch (e: IllegalArgumentException) { throw IllegalArgumentException("failed to decode certificate", e) } catch (e: GeneralSecurityException) { throw IllegalArgumentException("failed to decode certificate", e) } } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
*/ public static ZipFile create(final String file) { assertArgumentNotEmpty("file", file); try { return new ZipFile(file); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Creates and returns a <code>ZipFile</code> for reading the specified file. * * @param file * File. Must not be {@literal null}.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.7K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt
return certificates.single() as X509Certificate } catch (nsee: NoSuchElementException) { throw IllegalArgumentException("failed to decode certificate", nsee) } catch (iae: IllegalArgumentException) { throw IllegalArgumentException("failed to decode certificate", iae) } catch (e: GeneralSecurityException) { throw IllegalArgumentException("failed to decode certificate", e) } } /**Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
// contract of ExitException is that nothing needed by us throw e; } catch (Exception e) { // other exceptions (including InvokerException but sans Exit, see above): we need to inform user throw handleException(context, e); } } finally { Thread.currentThread().setContextClassLoader(oldCL);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/CheckstylePrecommitPlugin.java
} catch (IOException e) { throw new UncheckedIOException(e); } try (InputStream stream = checkstyleSuppressionsUrl.openStream()) { Files.copy(stream, checkstyleSuppressions.toPath(), StandardCopyOption.REPLACE_EXISTING); } catch (IOException e) { throw new UncheckedIOException(e); } }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 17 08:59:22 GMT 2021 - 5.5K bytes - Click Count (0)