- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 3,747 for throw (0.02 seconds)
-
src/test/java/jcifs/smb/CredentialsInternalTest.java
throws SmbException { // Validate required argument and interact with the provided CIFSContext if (tc == null) { throw new NullPointerException("tc"); } // Exercise interaction with dependency for verification purposes // These methods do not throw and allow interaction checks. tc.getConfig();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
DictionaryExpiredException rethrownException = null; try { try { throw new DictionaryExpiredException(); } catch (DictionaryExpiredException e) { originalException = e; throw e; } } catch (DictionaryExpiredException e) { rethrownException = e; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Throwables.java
* throwIfUnchecked(failure); * throw new AssertionError(failure); * } * </pre> * * @since 20.0 */ public static void throwIfUnchecked(Throwable throwable) { checkNotNull(throwable); if (throwable instanceof RuntimeException) { throw (RuntimeException) throwable; } if (throwable instanceof Error) { throw (Error) throwable; } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FilteredKeyMultimap.java
this.key = key; } @Override public boolean add(@ParametricNullness V element) { throw new IllegalArgumentException("Key does not satisfy predicate: " + key); } @Override public boolean addAll(Collection<? extends V> collection) { checkNotNull(collection); throw new IllegalArgumentException("Key does not satisfy predicate: " + key); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
this.key = key; } @Override public boolean add(@ParametricNullness V element) { throw new IllegalArgumentException("Key does not satisfy predicate: " + key); } @Override public boolean addAll(Collection<? extends V> collection) { checkNotNull(collection); throw new IllegalArgumentException("Key does not satisfy predicate: " + key); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
* @throws DictionaryException if the dictionary file cannot be read. */ protected void reload(final SynonymUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 15.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
if (!features.contains(methodFeature)) { if (stackWithLastReturnedElementAtTop == null) { throw PermittedMetaException.UOE_OR_ISE; } else { throw PermittedMetaException.UOE; } } else if (stackWithLastReturnedElementAtTop == null) { throw PermittedMetaException.ISE; } } private List<E> getElements() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 21.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
RuntimeException thrown = assertThrows(RuntimeException.class, supplier::get); assertInstanceOf(SmbUnsupportedOperationException.class, thrown.getCause()); assertEquals("boom", thrown.getCause().getMessage()); verify(supplier, times(1)).get(); verifyNoMoreInteractions(supplier); } @Test @DisplayName("No collaborator interaction occurs if exception is thrown beforehand")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
// Test initializeProbes method @Test public void test_initializeProbes() { // Simply test that the method doesn't throw exceptions try { Crawler.initializeProbes(); } catch (Exception e) { fail("initializeProbes should not throw exception: " + e.getMessage()); } } // Test main method with invalid arguments @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 30.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
blob.toBuilder().setMetadata(tags).build().update(); } else { throw new StorageException("Object not found: " + objectName); } } catch (final StorageException e) { throw e; } catch (final Exception e) { throw new StorageException("Failed to update tags for " + objectName, e); } } @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.3K bytes - Click Count (0)