Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 2,205 for exceptions (0.05 sec)

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

            verify(session, times(4)).close();
            verify(transport, times(4)).close();
        }
    
        @Test
        @DisplayName("isSMB2 true and exception fallback to false")
        void isSMB2Cases() throws Exception {
            // Happy path returns true; transport exception path returns false
            when(transport.isSMB2()).thenReturn(true);
            assertTrue(handle.isSMB2());
    
            reset(transport);
    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/internal/smb2/create/CreateContextResponseTest.java

            }
    
            @Test
            @DisplayName("Should throw exception on null buffer")
            void testDecodeWithNullBuffer() {
                assertThrows(SMBProtocolDecodingException.class, () -> testResponse.decode(null, 0, 10),
                        "Should throw exception for null buffer");
            }
    
            @Test
            @DisplayName("Should throw exception on negative buffer index")
            void testDecodeWithNegativeIndex() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            // Second session
            urlFilter.init("session-002");
            urlFilter.addInclude("https://second.com/.*");
    
            // Behavior depends on implementation
            // At minimum, should not throw exceptions
            assertNotNull(urlFilter);
        }
    
        /**
         * Test special characters in URL patterns
         */
        public void test_specialCharactersInPatterns() {
            String sessionId = "test-session-018";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

                    stats[2]++;
                    break;
                  case SIZE:
                    stats[3]++;
                    break;
                  default:
                    throw new IllegalStateException("No collected exceptions in GWT CacheBuilder.");
                }
              }
            };
    
        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
                .expireAfterWrite(1000, MILLISECONDS)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

        public void test_setError_withNullException() {
            // Test setError with null exception
            // Note: WebApiException constructor calls e.getMessage() on null exception, causing NullPointerException
            try {
                WebApiUtil.setError(500, (Exception) null);
                fail("setError should throw NullPointerException when passed null exception");
            } catch (NullPointerException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

            try {
              ByteStreams.exhaust(decodingStream);
              fail("Expected DecodingException");
            } catch (DecodingException expected) {
              // Don't assert on the expectedMessage; the messages for exceptions thrown from the
              // decoding stream may differ from the messages for the decode methods.
            } catch (IOException e) {
              fail("Expected DecodingException but got: " + e);
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            } catch (Exception e) {
                fail("Should not throw exception: " + e.getMessage());
            }
        }
    
        public void test_sendMail_withEmptyInfoMap() {
            Map<String, String> infoMap = new HashMap<>();
    
            try {
                crawler.sendMail(infoMap);
            } catch (Exception e) {
                fail("Should not throw exception with empty map: " + e.getMessage());
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                return running;
            }
    
            /**
             * Waits for the crawling thread to terminate.
             * This method blocks until the thread completes its execution.
             * Interrupted exceptions are caught and logged at debug level.
             */
            public void awaitTermination() {
                try {
                    join();
                } catch (final InterruptedException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

    import org.codelibs.fess.crawler.entity.RequestData;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.UrlQueue;
    import org.codelibs.fess.crawler.exception.ChildUrlsException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.helper.LogHelper;
    import org.codelibs.fess.crawler.interval.IntervalController;
    import org.codelibs.fess.crawler.log.LogType;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  10. docs/bucket/replication/DESIGN.md

    ### Multi destination replication
    
    The replication design for multiple sites works in a similar manner as described above for two site scenario. However there are some
    important exceptions.
    
    Replication status on the source cluster will be marked as `COMPLETED` only after replication is completed on all targets. If one or more targets failed replication, the replication status is reflected as `PENDING`.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top