- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,812 for rethrow (0.05 sec)
-
src/main/java/jcifs/smb1/smb1/SmbFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K 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) -
src/main/java/jcifs/context/CIFSContextWrapper.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 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
try { Artifact artifact = new Artifact("fess-theme-test", "1.0.0"); themeHelper.getJarFile(artifact); fail("Should throw ThemeException"); } catch (Exception e) { // Should throw ThemeException or other exception related to file not found assertTrue(e.getMessage().contains("does not exist") || e instanceof ThemeException); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
// Then assertEquals(4, bytesRead, "Failed at position " + pos); } } @Test @DisplayName("Should throw exception for invalid structure size") void testReadBytesWireFormatInvalidStructureSize() { // Given byte[] buffer = new byte[10]; int bufferIndex = 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
} public void test_initializeProbes() { // Test that initializeProbes doesn't throw exception try { ThumbnailGenerator.initializeProbes(); // If no exception thrown, test passes assertTrue(true); } catch (Exception e) { fail("initializeProbes should not throw exception: " + e.getMessage()); } } public void test_main_withHelp() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/EndpointPair.java
private Unordered(N nodeU, N nodeV) { super(nodeU, nodeV); } @Override public N source() { throw new UnsupportedOperationException(NOT_AVAILABLE_ON_UNDIRECTED); } @Override public N target() { throw new UnsupportedOperationException(NOT_AVAILABLE_ON_UNDIRECTED); } @Override public boolean isOrdered() { return false; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 8.1K bytes - Viewed (0)