Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 511 - 520 of 619 for getMessage (0.05 seconds)

  1. src/main/java/jcifs/util/PathValidator.java

                }
    
                return normalized.toString();
    
            } catch (MalformedURLException e) {
                throw new SmbException("Invalid SMB URL format: " + e.getMessage());
            }
        }
    
        /**
         * Check if path contains traversal sequences
         */
        private boolean containsTraversal(String path) {
            // Check various forms of directory traversal
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        tearDownStack.runTearDown();
      }
    
      @Override
      public void runBare() throws Throwable {
        try {
          super.runBare();
        } catch (AssertionError e) {
          if (e.getMessage() != null && e.getMessage().contains("Dude, where's my interrupt?")) {
            // Rerun test to work around Marshamallow class-loading issue b/456222735.
            super.runBare();
            return;
          }
          throw e;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  3. docs/smb3-features/03-multi-channel-design.md

            }
        }
        
        public void handleFailure(ChannelInfo failedChannel, Exception error) {
            log.warn("Channel {} failed: {}", failedChannel.getChannelId(), error.getMessage());
            
            // Mark channel as failed
            failedChannel.setState(ChannelState.FAILED);
            
            // Get or create failover state
            FailoverState state = failoverStates.computeIfAbsent(
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        Method method;
        try {
          method = extractMethod(test);
        } catch (IllegalArgumentException e) {
          logger.finer(Platform.format("%s: including by default: %s", test, e.getMessage()));
          return true;
        }
        if (suppressedTests.contains(method)) {
          logger.finer(Platform.format("%s: excluding because it was explicitly suppressed.", test));
          return false;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                ioe = (TransportException) root;
                root = ((TransportException) ioe).getRootCause();
            }
            if (root instanceof InterruptedException) {
                ioe = new InterruptedIOException(root.getMessage());
                ioe.initCause(root);
            }
            return ioe;
        }
    
        /**
         * Closes this input stream and releases any system resources associated with the stream.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/PacLogonInfoTest.java

            byte[] tooSmall = new byte[10];
    
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacLogonInfo(tooSmall));
    
            assertEquals("Malformed PAC", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test getters return expected values using mocks")
        void testGetters() throws Exception {
            // Use mocking to test getters without complex PAC data creation
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            try {
                generator.isTarget(docMap);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                assertTrue(e.getMessage().contains("Not initialized"));
            }
        }
    
        @Test
        public void test_addCondition() {
            // Test adding conditions
            generator = new TestThumbnailGenerator();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, offset));
            assertEquals("Structure size is not 16", exception.getMessage());
        }
    
        @DisplayName("Should parse different share types correctly")
        @ParameterizedTest
        @CsvSource({ "1, 1", // DISK
                "2, 2", // PIPE
                "3, 3", // PRINT
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Command execution failed for user: username={}, error={}", username, e.getMessage(), e);
                }
                throw new CommandExecutionException("Process terminated for user: " + username, e);
            } finally {
                if (mt != null) {
                    mt.setFinished(true);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

                // Job should handle exception gracefully
                assertNotNull(result);
            } catch (Exception e) {
                // Exception is expected to be caught within the job
                assertTrue(e.getMessage().contains("Connection failed"));
            }
        }
    
        // Helper method to create mock ClusterHealthResponse
        private ClusterHealthResponse createMockHealthResponse(String clusterName, ClusterHealthStatus status) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
Back to Top