- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 3,054 for throws (0.67 sec)
-
src/main/java/jcifs/smb/SmbFileOutputStream.java
* Ensures that the file descriptor is openend * * @throws CIFSException if an error occurs opening the file */ public void open() throws CIFSException { try (SmbFileHandleImpl fh = ensureOpen()) {} } /** * Closes this output stream and releases any system resources associated * with it. * * @throws IOException * if a network error occurs */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
} @Override public void reset() throws IOException { // In real implementation, this would reset the DiSNI connection connect(); } @Override public int read(ByteBuffer buffer, long remoteAddress, int remoteKey, int length) throws IOException { if (state != RdmaConnectionState.ESTABLISHED) { throw new IOException("Connection not established"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
@Override protected URLConnection openConnection(URL u) throws IOException { return mock(HttpURLConnection.class); } }; // Create mock HTTPS handler URLStreamHandler httpsHandler = new URLStreamHandler() { @Override protected URLConnection openConnection(URL u) throws IOException { return mock(HttpURLConnection.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
close(); throw new NbtException(NbtException.ERR_SSN_SRVC, errorCode); case -1: throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED); default: close(); throw new NbtException(NbtException.ERR_SSN_SRVC, 0); } } @Override public void close() throws IOException { if (LogStream.level > 3) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
when(ctx.getConfig()).thenReturn(cfg); return ctx; } @Test @DisplayName("copyFile wraps and throws when ignoreCopyToException=false") void copyFile_throwsWhenIgnoreFalse() throws Exception { // Arrange SmbFile src = mock(SmbFile.class, RETURNS_DEEP_STUBS); SmbFile dest = mock(SmbFile.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
* @param searchAttributes the file attributes to search for * @throws CIFSException if an error occurs during initialization */ public DirFileEntryEnumIteratorBase(final SmbTreeHandleImpl th, final SmbResource parent, final String wildcard, final ResourceNameFilter filter, final int searchAttributes) throws CIFSException { this.parent = parent; this.wildcard = wildcard;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* * @throws ExecutionException if {@code closingFuture} is a failed step * @throws CancellationException if the {@code closingFuture}'s future was cancelled * @throws IllegalArgumentException if {@code closingFuture} is not one of the futures passed to * {@link #whenAllComplete(Iterable)} or {@link #whenAllComplete(Iterable)}Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 97.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
final int throwAfterCount; final RuntimeException thrown; int count; ThrowingRunnable(int throwAfterCount, RuntimeException thrown) { this.throwAfterCount = throwAfterCount; this.thrown = thrown; } @Override public void run() { if (++count >= throwAfterCount) { throw thrown; } } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
} protected void createLocalArtifact(Artifact artifact) throws Exception { createArtifact(artifact, localRepository()); } protected void createRemoteArtifact(Artifact artifact) throws Exception { createArtifact(artifact, remoteRepository()); } protected void createArtifact(Artifact artifact, ArtifactRepository repository) throws Exception { String path = repository.pathOf(artifact);Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 13.8K bytes - Viewed (0)