Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 2,324 for exception (0.08 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            .build();
      }
    
      private static Iterable<Striped<?>> allImplementations() {
        return concat(strongImplementations(), weakImplementations());
      }
    
      public void testNull() throws Exception {
        for (Striped<?> striped : allImplementations()) {
          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            .build();
      }
    
      private static Iterable<Striped<?>> allImplementations() {
        return concat(strongImplementations(), weakImplementations());
      }
    
      public void testNull() throws Exception {
        for (Striped<?> striped : allImplementations()) {
          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            String url = "smb://server/share/file.txt";
            SmbResource mockSmbResource = mock(SmbFile.class);
            // Mocking SmbFile constructor is tricky, so we'll just verify the call to the delegate
            // and ensure no exception is thrown for a valid URL.
            // The actual SmbFile creation is outside the scope of this wrapper's direct responsibility.
    
            // For coverage, we'll ensure the method doesn't throw MalformedURLException for a valid URL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            assertEquals(newPosition, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testSeekNegativePosition() throws SmbException {
            // seek doesn't throw exception for negative position, it just sets it
            smbRandomAccessFile.seek(-1);
            assertEquals(-1, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testReadByte() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should initialize with SMB_QUERY_FILE_BASIC_INFO level")
            void testConstructorWithBasicInfo() throws Exception {
                Trans2QueryPathInformationResponse resp =
                        new Trans2QueryPathInformationResponse(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        @Test
        void testMapInformationLevelWithInvalidLevel() {
            // Test invalid information level
            IllegalArgumentException exception =
                    assertThrows(IllegalArgumentException.class, () -> Trans2QueryPathInformation.mapInformationLevel(999));
            assertTrue(exception.getMessage().contains("Unsupported information level"));
        }
    
        @Test
        void testToString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

     *   <li>org.codelibs.fess.crawler.Constants</li>
     *   <li>org.codelibs.fess.crawler.exception.CrawlerSystemException</li>
     *   <li>org.codelibs.fess.crawler.entity.AccessResultData</li>
     *   <li>org.codelibs.core.lang.StringUtil</li>
     * </ul>
     *
     * @see org.codelibs.fess.crawler.Constants
     * @see org.codelibs.fess.crawler.exception.CrawlerSystemException
     * @see org.codelibs.fess.crawler.entity.AccessResultData
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                        throw new CIFSException("Automatic key rotation failed", e);
                    }
                } else {
                    // Fall back to throwing exception if no session key is available
                    totalKeyRotations.incrementAndGet();
                    lastKeyRotationTime.set(System.currentTimeMillis());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ChildUrlsException.java

     */
    package org.codelibs.fess.crawler.exception;
    
    import java.util.Set;
    
    import org.codelibs.fess.crawler.entity.RequestData;
    
    /**
     * {@link ChildUrlsException} is thrown when child URLs are found during crawling.
     * It extends {@link CrawlerSystemException} and holds a set of {@link RequestData}
     * representing the child URLs that caused the exception.
     *
     */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

        private SmbFile mockFile2;
    
        private LeaseManager baseLeaseManager;
        private DirectoryLeaseManager directoryLeaseManager;
        private AutoCloseable mocks;
    
        @BeforeEach
        public void setUp() throws Exception {
            mocks = MockitoAnnotations.openMocks(this);
    
            when(context.getConfig()).thenReturn(config);
            when(config.isDirectoryNotificationsEnabled()).thenReturn(false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top