Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for recovered (0.74 sec)

  1. src/main/java/jcifs/SmbException.java

         */
        public SmbException withContext(String key, Object value) {
            this.context.put(key, value);
            return this;
        }
    
        /**
         * Sets a recovery hint for the error
         *
         * @param hint the recovery hint
         * @return this exception for chaining
         */
        public SmbException withRecoveryHint(String hint) {
            this.recoveryHint = hint;
            return this;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    **Key Test Areas**:
    - Resource closure on successful extraction (MS Office extractors)
    - Resource closure on failed extraction
    - Improved error messages with context
    - Input validation using `validateInputStream()`
    
    **Covered Extractors**:
    - MsWordExtractor
    - MsExcelExtractor
    - MsPowerPointExtractor
    - TextExtractor
    
    **Test Count**: 8 tests
    
    **Key Scenarios**:
    - ✅ Successful extraction closes resources properly
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NbtExceptionTest.java

            assertTrue(exception instanceof CIFSException, "NbtException should be an instance of CIFSException");
        }
    
        /**
         * Test the getErrorString method with various error classes and codes to ensure all branches are covered.
         */
        @ParameterizedTest
        @MethodSource("provideErrorClassAndCodeForGetErrorString")
        @DisplayName("getErrorString should return correct messages for all defined error classes and codes")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            // Simulate the shutdown hook being run
            spyContext.run();
    
            assertTrue(spyContext.isCloseCalled()); // Verify close() was called
            // We can't directly assert on log.warn, but we've covered the path
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResourceException.java

            // Add context
            withContext("resourceType", resourceType);
            withContext("available", available);
            withContext("requested", requested);
    
            // Add recovery hint
            withRecoveryHint(generateRecoveryHint());
        }
    
        /**
         * Creates a resource exception with cause
         *
         * @param message the error message
         * @param errorCode the SMB error code
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            IOException error = new IOException("Connection failed");
            failover.handleFailure(failedChannel, error);
    
            // Wait a bit for recovery attempt
            Thread.sleep(100);
    
            verify(mockChannelManager).createTransport(failedChannel.getLocalInterface(), failedChannel.getRemoteInterface());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top