- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,812 for rethrow (0.03 sec)
-
guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { Assert.assertEquals(expectedData, future.get()); } catch (ExecutionException e) { throw e.getCause(); } } /** * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/HMACT64.java
ipad[i] = IPAD; opad[i] = OPAD; } try { md5 = MessageDigest.getInstance("MD5"); } catch (final Exception ex) { throw new IllegalStateException(ex.getMessage()); } engineReset(); } private HMACT64(final HMACT64 hmac) throws CloneNotSupportedException { super("HMACT64"); this.ipad = hmac.ipad;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
android/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); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* {@code setCount()} to throw an exception, as checking the return value could produce an * incorrect error message like "setCount() should return the original count" instead of the * message passed to a later invocation of {@code fail()}, like "setCount should throw * UnsupportedOperationException." */ abstract void setCountNoCheckReturnValue(E element, int count);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
assertArgumentNotNull("field", field); try { return (T) field.get(target); } catch (final IllegalAccessException ex) { throw new IllegalAccessRuntimeException(field.getDeclaringClass(), ex); } } /** * Returns the value of a {@literal static} {@link Field} as an int. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/FileOperator.kt
@Throws(IOException::class) fun write( pos: Long, source: Buffer, byteCount: Long, ) { if (byteCount < 0L || byteCount > source.size) { throw IndexOutOfBoundsException() } var mutablePos = pos var mutableByteCount = byteCount while (mutableByteCount > 0L) { val bytesWritten = fileChannel.transferFrom(source, mutablePos, mutableByteCount)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/AbstractIterator.java
public final T next() { if (!hasNext()) { throw new NoSuchElementException(); } state = State.NOT_READY; // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`. T result = uncheckedCastNullableTToT(next); next = null; return result; } @Override public final void remove() { throw new UnsupportedOperationException(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java
assertThrows(PACDecodingException.class, () -> { KerberosAuthData.parse(KerberosConstants.AUTH_DATA_PAC, invalidToken, mockKeys); }, "Parsing an invalid PAC token should throw a PACDecodingException."); } /** * Test parsing of {@link KerberosConstants#AUTH_DATA_RELEVANT} with an invalid token. * Expects a {@link PACDecodingException} to be thrown. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java
throw new ArtifactNotFoundException("Unable to determine the latest version", artifact); } artifact.setBaseVersion(version); artifact.updateVersion(version, request.getLocalRepository()); } catch (RepositoryMetadataResolutionException e) { throw new ArtifactResolutionException(e.getMessage(), artifact, e);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.9K bytes - Viewed (0)