- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 1,947 for threw (0.02 sec)
-
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
throw new IntentionalException(); } /** Local exception subclass to check variety of exception thrown. */ class IntentionalException extends Exception { private static final long serialVersionUID = -2500191180248181379L; } @Subscribe public void errorThrowingMethod(Object arg) { throw new JudgmentError(); } @Subscribe
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbFileHandleTest.java
doThrow(new CIFSException("Failed to close")).when(smbFileHandle).close(lastWriteTime); assertThrows(CIFSException.class, () -> smbFileHandle.close(lastWriteTime), "close(long) should throw CIFSException when closing fails."); verify(smbFileHandle, times(1)).close(lastWriteTime); } /** * Test close() successfully. * * @throws CIFSException */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java
if (dup.add(values[0]) == false) { throw new IllegalArgumentException("Found duplicate term [" + values[0] + "] in user dictionary."); } return rule; } public static UserDictionary getUserDictionary(Environment env, Settings settings) { if (settings.get(USER_DICT_PATH_OPTION) != null && settings.get(USER_DICT_RULES_OPTION) != null) { throw new IllegalArgumentException(
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ThemeHelper.java
if (StringUtil.isBlank(themeName)) { throw new ThemeException("Theme name is empty: " + artifact); } return themeName; } /** * Recursively deletes a directory and all its contents. * Does not throw exceptions, only logs warnings if deletion fails. * * @param dir the directory to delete */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
} @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemoveAll_unsupportedEmptyCollection() { try { assertFalse( "removeAll(emptyCollection) should return false or throw " + "UnsupportedOperationException", collection.removeAll(MinimalCollection.of())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
assertThrows(UnknownHostException.class, () -> UniAddress.getAllByName("", false), "getAllByName should throw UnknownHostException for empty string"); assertThrows(UnknownHostException.class, () -> UniAddress.getAllByName(null, false), "getAllByName should throw UnknownHostException for null name"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
if (baseDir.mkdirs()) { logger.info("Created: {}", baseDir.getAbsolutePath()); } if (!baseDir.isDirectory()) { throw new FessSystemException("Not found: " + baseDir.getAbsolutePath()); } thumbnailTaskQueue = new LinkedBlockingQueue<>(thumbnailTaskQueueSize); // Don't start thread
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java
public static ZipEntry getNextEntry(final ZipInputStream zis) { assertArgumentNotNull("zis", zis); try { return zis.getNextEntry(); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * A method that wraps the exception handling of {@link ZipInputStream#reset()}. * * @param zis
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java
this.handle = handle; final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } this.opened = true; } @Override public synchronized void close() throws IOException { if (this.opened) { this.opened = false;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
final String serializer = getSerializerType(); return switch (serializer) { case KRYO -> serializeWithKryo(obj); case JAVABIN -> SerializeUtil.fromObjectToBinary(obj); default -> throw new IllegalArgumentException("Unexpected value: " + serializer); }; } /** * Deserializes a byte array back to an object. * <p>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.1K bytes - Viewed (3)