- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 2,310 for rethrow (0.05 seconds)
-
android/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(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 7.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
TestService service = new TestService() { @Override protected void startUp() throws Exception { super.startUp(); throw exception; } }; assertEquals(0, service.startUpCalled); RuntimeException e = assertThrows(RuntimeException.class, () -> service.startAsync().awaitRunning());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 7.7K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
if (buf.dec_ndr_small() != 5 || buf.dec_ndr_small() != 0) { throw new NdrException("DCERPC version not supported"); } this.ptype = buf.dec_ndr_small(); this.flags = buf.dec_ndr_small(); if (buf.dec_ndr_long() != 0x00000010) { /* Little-endian / ASCII / IEEE */ throw new NdrException("Data representation not supported"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
if (sessionId == null || sessionId.isEmpty()) { throw new CIFSException("Session ID cannot be null or empty"); } if (salt == null || salt.length < 16) { throw new CIFSException("Invalid preauth salt: minimum 16 bytes required"); } if (!isHashAlgorithmSupported(hashAlgorithm)) { throw new CIFSException("Unsupported hash algorithm: " + hashAlgorithm); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
state = 0; thread = null; throw new TransportException("Connection timeout"); case 2: if (te != null) { /* doConnect throw Exception */ state = 4; /* error */ thread = null; throw te; } state = 3; /* Success! */ }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectPreconditions.java
if (key == null) { throw new NullPointerException("null key in entry: null=" + value); } else if (value == null) { throw new NullPointerException("null value in entry: " + key + "=null"); } } @CanIgnoreReturnValue static int checkNonnegative(int value, String name) { if (value < 0) { throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 10 21:56:42 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
if (element == null) { if (exceptionSupplier != null) { throw exceptionSupplier.get(); } else { throw new NoSuchElementException(); } } else if (extras.isEmpty()) { return uncheckedCastNullableTToT(element); } else { throw multiples(false); } } } private MoreCollectors() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
SerializableTester.reserializeAndAssert(instance); } catch (Exception e) { // sneaky checked exception throw new AssertionError( "Serialization failed on return value of " + factory, e.getCause()); } catch (AssertionFailedError e) { throw new AssertionError( "Return value of " + factory + " reserialized to an unequal value", e); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0)