Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,054 for throws (0.04 sec)

  1. 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)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

            this.bytesReceived += byteCount
          } catch (e: IOException) {
            throw complete(e)!!
          }
        }
    
        @Throws(IOException::class)
        override fun flush() {
          try {
            super.flush()
          } catch (e: IOException) {
            throw complete(e)!!
          }
        }
    
        @Throws(IOException::class)
        override fun close() {
          if (closed) return
          closed = true
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         * @throws UnknownHostException if the host cannot be resolved to find out.
         */
    
        public boolean isInConflict() throws UnknownHostException {
            checkNodeStatusData();
            return isInConflict;
        }
    
        /**
         * Determines if this address is active.
         *
         * @return true if the address is active, false otherwise
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  9. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

        this.path = path;
      }
    
      @Override public ServerSocket createServerSocket() throws IOException {
        return new UnixDomainServerSocket();
      }
    
      @Override public ServerSocket createServerSocket(int port) throws IOException {
        return createServerSocket();
      }
    
      @Override public ServerSocket createServerSocket(int port, int backlog) throws IOException {
        return createServerSocket();
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  10. 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)
Back to top