- Sort Score
- Result 10 results
- Languages All
Results 841 - 850 of 2,976 for throwIt (0.05 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
try { ruleManager.addRule(-1, rule2); fail("Should throw IndexOutOfBoundsException for negative index"); } catch (IndexOutOfBoundsException e) { // Expected } try { ruleManager.addRule(5, rule2); fail("Should throw IndexOutOfBoundsException for index > size"); } catch (IndexOutOfBoundsException e) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
} } /** * Checks if the executor has been shut down and increments the running task count. * * @throws RejectedExecutionException if the executor has been previously shutdown */ private void startTask() { synchronized (lock) { if (shutdown) { throw new RejectedExecutionException("Executor already shutdown"); } runningTasks++; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
/** * Constructs a PacSignature by parsing the provided data. * * @param data the raw signature data to parse * @throws PACDecodingException if the data is malformed or cannot be parsed */ public PacSignature(final byte[] data) throws PACDecodingException { try { final PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/DirectExecutorService.java
} } /** * Checks if the executor has been shut down and increments the running task count. * * @throws RejectedExecutionException if the executor has been previously shutdown */ private void startTask() { synchronized (lock) { if (shutdown) { throw new RejectedExecutionException("Executor already shutdown"); } runningTasks++; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/BiMap.java
* * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order * of {@code map}. * * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some * map entries may have been added to the bimap before the exception was thrown. */ @Override void putAll(Map<? extends K, ? extends V> map); // Views /** * {@inheritDoc} *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
new CacheLoader<String, String>() { @Override public String load(String key) throws InterruptedException { int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
new CacheLoader<String, String>() { @Override public String load(String key) throws InterruptedException { int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessEventType.java
* @return the corresponding WitnessEventType * @throws IllegalArgumentException if value is not recognized */ public static WitnessEventType fromValue(int value) { for (WitnessEventType type : values()) { if (type.value == value) { return type; } } throw new IllegalArgumentException("Unknown witness event type: " + value); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java
@Override public void setUp() throws Exception { super.setUp(); scriptEngineFactory = new ScriptEngineFactory(); ComponentUtil.register(scriptEngineFactory, "scriptEngineFactory"); testScriptEngine = new TestScriptEngine(); } @Override public void tearDown() throws Exception { ComponentUtil.setFessConfig(null); super.tearDown();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown. * * @param b the instance to convert; will never be null * @return the converted instance; <b>must not</b> be null * @throws UnsupportedOperationException if backward conversion is not implemented; this should be
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0)