Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 168 for CIFSException (0.08 seconds)

  1. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Close and verify subsequent calls throw
            handle.close();
            CIFSException ex1 = assertThrows(CIFSException.class, handle::getInput, "getInput after close must throw");
            assertTrue(ex1.getMessage().contains("Already closed"));
            CIFSException ex2 = assertThrows(CIFSException.class, handle::getOutput, "getOutput after close must throw");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            assertTrue(exception instanceof CIFSException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
    
            // Test that it can be caught as CIFSException
            boolean caughtAsCIFSException = false;
            try {
                throw exception;
            } catch (CIFSException e) {
                caughtAsCIFSException = true;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/CIFSContext.java

         * @throws CIFSException if the pipe resource cannot be accessed
         */
        SmbPipeResource getPipe(String url, int pipeType) throws CIFSException;
    
        /**
         * Close all connections and release resources associated with this context
         *
         * @return whether any connection was still in use
         * @throws CIFSException if an error occurs during cleanup
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            assertTrue(reqCap.getValue() instanceof NtTransNotifyChange, "SMB1 notify request must be used");
        }
    
        // If a response is not marked as received, throw a CIFSException
        @Test
        @DisplayName("watch() throws CIFSException when response not received")
        void watch_responseNotReceived_throwsCIFSException() throws Exception {
            NotifyResponse resp = mock(NotifyResponse.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

         * @see jcifs.SmbWatchHandle#call()
         */
        @Override
        public List<FileNotifyInformation> call() throws CIFSException {
            return watch();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbWatchHandle#close()
         */
        @Override
        public void close() throws CIFSException {
            if (this.handle.isValid()) {
                this.handle.close(0L);
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/CredentialsInternalTest.java

            assertDoesNotThrow(creds::refresh);
        }
    
        @Test
        @DisplayName("refresh throws CIFSException when configured to fail")
        void refresh_failure_throws_cifs() {
            TestCredentials creds = new TestCredentials("Z", false, false, new Subject(), true);
            CIFSException ex = assertThrows(CIFSException.class, creds::refresh);
            assertTrue(ex.getMessage().contains("refresh failed"));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/ResourceFilter.java

         *
         * @param resource the SMB resource to test
         * @return whether the given resource should be included
         * @throws CIFSException if an error occurs while accessing the resource
         */
        boolean accept(SmbResource resource) throws CIFSException;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/config/PropertyConfiguration.java

        /**
         * Create a configuration backed by properties
         *
         * @param props properties object containing JCIFS configuration settings
         * @throws CIFSException if configuration initialization fails
         */
        public PropertyConfiguration(Properties props) throws CIFSException {
            super(false);
            initFromProperties(props);
            initDefaults(); // Use original initDefaults
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

        }
    
        /**
         *
         * @param req
         * @param params
         * @return response
         * @throws CIFSException
         */
        public <T extends CommonServerMessageBlockResponse> T send(final jcifs.internal.Request<T> req, final RequestParam... params)
                throws CIFSException {
            return send(req, null, params);
        }
    
        /**
         * @param request
         * @param response
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbTreeInternal.java

         * @param request the request to send
         * @param params optional request parameters
         * @return response message
         * @throws CIFSException if an error occurs sending the request
         */
        <T extends CommonServerMessageBlockResponse> T send(Request<T> request, RequestParam... params) throws CIFSException;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top