Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 447 for setMessage (0.11 sec)

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

            when(treeConnection.hasCapability(999)).thenThrow(new SmbException("Not connected"));
            SmbException ex = assertThrows(SmbException.class, () -> handle.hasCapability(999));
            assertTrue(ex.getMessage().contains("Not connected"));
        }
    
        @Test
        @DisplayName("getTreeId delegates")
        void getTreeIdDelegates() {
            // Ensures tree id is forwarded from connection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            SmbException ex1 = assertThrows(SmbException.class, h::getFid);
            assertEquals("Descriptor is no longer valid", ex1.getMessage());
            SmbException ex2 = assertThrows(SmbException.class, h::getFileId);
            assertEquals("Descriptor is no longer valid", ex2.getMessage());
        }
    
        @Test
        @DisplayName("close(long) sends SMB2 close request and releases tree when SMB2")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

                bufferIndex += this.securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (final IOException ioe) {
                throw new RuntimeCIFSException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("NtTransQuerySecurityResponse[" + super.toString() + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

                    artifact.updateVersion(version, request.getLocalRepository());
                } catch (RepositoryMetadataResolutionException e) {
                    throw new ArtifactResolutionException(e.getMessage(), artifact, e);
                }
            }
        }
    
        @Override
        public void transformForInstall(Artifact artifact, ArtifactRepository localRepository) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            IllegalArgumentException exception =
                    assertThrows(IllegalArgumentException.class, () -> Trans2QueryPathInformation.mapInformationLevel(999));
            assertTrue(exception.getMessage().contains("Unsupported information level"));
        }
    
        @Test
        void testToString() {
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

                        "Should throw when structure size != 4");
    
                // Assert: message is meaningful
                assertEquals("Structure size is not 4", ex.getMessage());
            }
    
            @Test
            @DisplayName("Null buffer leads to NullPointerException from readInt2")
            void nullBuffer_throwsNPE() {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                } finally {
                    TestIterator.staticThrowOnOpen = false; // Reset flag
                }
            });
            assertEquals("open fail", ex.getMessage());
            verify(tree, times(1)).release(); // closed on constructor failure
        }
    
        @Test
        @DisplayName("Iteration skips '.' and '..' and returns valid entries")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java

        protected String resolveLabelIfNeeds(final MessageManager messageManager, final Locale locale, final String label) {
            return label.startsWith("labels.") ? messageManager.getMessage(locale, label) : label;
        }
    
        // ===================================================================================
        //                                                                           Component
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/HMACT64.java

        }
    
        @Override
        public Object clone() {
            try {
                return new HMACT64(this);
            } catch (final CloneNotSupportedException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
        protected byte[] engineDigest() {
            final byte[] digest = this.md5.digest();
            this.md5.update(this.opad);
            return this.md5.digest(digest);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            try {
                helper.init();
                assertNotNull(helper.duplicateHostList);
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_setDuplicateHostList() {
            DuplicateHostHelper helper = new DuplicateHostHelper();
            List<DuplicateHost> testList = new ArrayList<>();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top