- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 1,812 for rethrow (0.08 sec)
-
android/guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java
@Override public Collection<String> create(String[] elements) { // TODO: MinimalCollection should perhaps throw for (Object element : elements) { if (element == null) { throw new NullPointerException(); } } return MinimalCollection.of(elements); } })Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override public final @Nullable V remove(@Nullable Object o) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the map unmodified. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsImplTest.java
// Should not throw any exception and simply return. assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "\\\\server\\share\\path", mockReferral)); } @Test void testCache_InvalidPath() { // Scenario: The UNC path provided is invalid. DfsReferralDataInternal mockReferral = mock(DfsReferralDataInternal.class); // Should not throw any exception.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
*/ public E getFirst() { if (isEmpty()) { throw new NoSuchElementException(); } return getFirstEntry().element; } /** * Returns the last element. * * @return the last element */ public E getLast() { if (isEmpty()) { throw new NoSuchElementException(); } return getLastEntry().element; }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
} } if (field == null) { throw new NoSuchFieldException(fieldName); } field.setAccessible(true); field.set(this, value); } catch (Exception e) { throw new RuntimeException("Failed to set field " + fieldName, e); } }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/context/BaseContext.java
*/ @Override public SmbResource get(final String url) throws CIFSException { try { return new SmbFile(url, this); } catch (final MalformedURLException e) { throw new CIFSException("Invalid URL " + url, e); } } /** * * {@inheritDoc} * * @see jcifs.CIFSContext#getPipe(java.lang.String, int) */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
labels.testAssertPropertyNotNull(null); fail("Should throw IllegalArgumentException"); } catch (IllegalArgumentException e) { assertEquals("The argument 'property' for message should not be null.", e.getMessage()); } } /** * Test that assertPropertyNotNull does not throw exception for non-null input */ public void test_assertPropertyNotNull_withNonNull() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
response.setContentCache(cache); // Should not throw exception response.close(); } @Test public void testCloseWithoutContentCache() throws IOException { CurlResponse response = new CurlResponse(); // Should not throw exception response.close(); } @Test public void testHeadersCaseInsensitive() {
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Serialization.java
try { field.set(instance, value); } catch (IllegalAccessException impossible) { throw new AssertionError(impossible); } } void set(T instance, int value) { try { field.set(instance, value); } catch (IllegalAccessException impossible) { throw new AssertionError(impossible); } } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.5K bytes - Viewed (0)