Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 447 for getMessages (0.1 sec)

  1. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            } catch (JobProcessingException e) {
                assertEquals("Python Process terminated.", e.getMessage());
                assertNotNull(e.getCause());
                // Check cause message if available, otherwise just verify cause exists
                if (e.getCause().getMessage() != null) {
                    assertTrue(e.getCause().getMessage().contains("Process start failed"));
                }
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            when(handle.ensureTreeConnected()).thenThrow(boom);
    
            // Act + Assert
            CIFSException ex = assertThrows(CIFSException.class, out::ensureTreeConnected);
            assertEquals("tree-fail", ex.getMessage());
            verify(handle, times(1)).ensureTreeConnected();
        }
    
        @Test
        @DisplayName("ensureOpen delegates and returns the file handle")
        void ensureOpen_delegatesAndReturns() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

                    "Should throw exception when length < 24");
    
            assertEquals("Invalid resume key", exception.getMessage(), "Exception message should match");
        }
    
        @Test
        @DisplayName("Test decode throws exception with zero length")
        void testDecodeThrowsExceptionWithZeroLength() {
            byte[] buffer = new byte[28];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                // For now, just return the file object
                return file;
            } catch (Exception e) {
                log.warn("Failed to create SmbFile for {}: {}", filePath, e.getMessage());
                throw new IOException("Failed to create SmbFile: " + e.getMessage(), e);
            }
        }
    
        /**
         * Get the CIFS context
         *
         * @return CIFS context
         */
        public CIFSContext getContext() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/Kerb5ContextTest.java

            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.calculateMIC(data));
            assertTrue(ex.getMessage().contains("Failed to calculate MIC"));
        }
    
        @Test
        @DisplayName("calculateMIC with null data throws NPE")
        void calculateMIC_nullData() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java

                return true;
            } catch (ClassNotFoundException e) {
                log.debug("DiSNI not available: {}", e.getMessage());
                return false;
            } catch (UnsatisfiedLinkError e) {
                log.debug("DiSNI native libraries not available: {}", e.getMessage());
                return false;
            }
        }
    
        @Override
        public Set<RdmaCapability> getSupportedCapabilities() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

         */
        @Override
        public ActionResponse godHandPrologue(final ActionRuntime runtime) {
            if (!isAccessAllowed()) {
                return asJson(new ApiErrorResponse().message(getMessage(messages -> messages.addErrorsUnauthorizedRequest(GLOBAL)))
                        .status(Status.UNAUTHORIZED)
                        .result());
            }
            return super.godHandPrologue(runtime);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                try {
                    while (used == 0) {
                        lock.wait();
                    }
                } catch (final InterruptedException ie) {
                    throw new IOException(ie.getMessage());
                }
                result = pipe_buf[beg_idx] & 0xFF;
                beg_idx = (beg_idx + 1) % pipe_buf.length;
            }
            return result;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

                provider.provide(null);
                fail("Should throw exception for null classification name");
            } catch (ProvidedClassificationNotFoundException e) {
                // expected
                assertTrue(e.getMessage().contains("Not found the classification: null"));
            } catch (NullPointerException e) {
                // Also acceptable if null is not handled explicitly
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
                }
            }
        }
    
        @Override
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
            if (artifact.isSnapshot()) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top