Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,004 for exception (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

                logger.debug("Crawling Access Exception at {}", urlQueue.getUrl(), e);
            } else if (e.isInfoEnabled()) {
                logger.info(e.getMessage());
            } else if (e.isWarnEnabled()) {
                logger.warn("Crawling Access Exception at " + urlQueue.getUrl(), e);
            } else if (e.isErrorEnabled()) {
                logger.error("Crawling Access Exception at " + urlQueue.getUrl(), e);
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. docs/smb3-features/05-rdma-smb-direct-design.md

            } catch (Exception e) {
                throw new IOException("RDMA connection failed", e);
            }
        }
        
        @Override
        public void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException {
            try {
                DisniMemoryRegion disniRegion = (DisniMemoryRegion) region;
                IbvSendWR sendWR = new IbvSendWR();
                sendWR.setWr_id(System.nanoTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

        void testFallbackWhenOpen() throws Exception {
            // Open the circuit
            circuitBreaker.tripBreaker();
    
            String result = circuitBreaker.call(() -> "primary", () -> "fallback");
    
            assertEquals("fallback", result);
        }
    
        @Test
        @DisplayName("Test transition to HALF_OPEN after timeout")
        void testTransitionToHalfOpen() throws Exception {
            // Open the circuit
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // We need to create a proper ASN1TaggedObject with APPLICATION tag class
            // Create a custom base object that throws IOException
            ASN1Encodable badBase = new ASN1Encodable() {
                @Override
                public ASN1Primitive toASN1Primitive() {
                    // Return a primitive that will throw IOException when getEncoded is called
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            when(response.getHeaderStart()).thenReturn(0);
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class,
                    () -> response.readBytesWireFormat(buffer, bufferIndex), "Should throw exception for unknown quota info class");
    
            assertTrue(exception.getMessage().contains("Unknown quota info class"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

                assertEquals(1, securityExceptions.length, "getSecurity() should declare IOException");
                assertEquals(IOException.class, securityExceptions[0], "Should declare IOException");
                assertEquals(1, ownerExceptions.length, "getOwnerUser() should declare IOException");
                assertEquals(IOException.class, ownerExceptions[0], "Should declare IOException");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PACDecodingException.java

        }
    
        /**
         * Constructs a new PAC decoding exception with the specified detail message.
         * @param message the detail message
         */
        public PACDecodingException(final String message) {
            this(message, null);
        }
    
        /**
         * Constructs a new PAC decoding exception with the specified cause.
         * @param cause the cause of the exception
         */
        public PACDecodingException(final Throwable cause) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (1)
  8. src/main/java/jcifs/internal/witness/WitnessClient.java

                    } else {
                        String errorMsg = response != null ? response.getError() : "Response was null";
                        throw new IOException("Witness registration failed: " + errorMsg);
                    }
    
                } catch (Exception e) {
                    log.error("Failed to register for witness notifications", e);
                    throw new RuntimeException(e);
                }
            });
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            assertNotNull(errorHandler, "Error handler should not be null");
    
            // Test error classification for different exception types
            Exception hardwareError = new RuntimeException("RDMA hardware not supported");
            Exception networkError = new java.io.IOException("Network connection failed");
            Exception timeoutError = new java.net.SocketTimeoutException("Operation timed out");
    
            // Test fallback logic
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                assertNull(unwrapped);
            }
        }
    
        @Nested
        @DisplayName("Exception handling tests")
        class ExceptionHandlingTests {
    
            @Test
            @DisplayName("doEnum rethrows CIFSException when not UnknownHostException")
            void doEnum_rethrowsCIFSException_whenNotUnknownHost() throws Exception {
                // Arrange
                SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top