Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1141 - 1150 of 2,367 for Exceptions (0.04 sec)

  1. guava-tests/test/com/google/common/base/EnumsTest.java

      }
    
    
      @J2ktIncompatible
      @AndroidIncompatible // depends on details of GC and classloading
      public void testGetIfPresent_doesNotPreventClassUnloading() throws Exception {
        WeakReference<?> shadowLoaderReference = doTestClassUnloading();
        GcFinalization.awaitClear(shadowLoaderReference);
      }
    
      // Create a second ClassLoader and use it to get a second version of the TestEnum class.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.3K 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    ### 1. Resource Management
    - ✅ Try-with-resources usage in MS Office extractors
    - ✅ Proper closure of POI objects
    - ✅ No resource leaks on exception
    
    ### 2. Input Validation
    - ✅ Consistent `validateInputStream()` usage
    - ✅ Reduced code duplication
    - ✅ Clear exception messages
    
    ### 3. Error Handling
    - ✅ Archive extractors continue on partial failures
    - ✅ Processing statistics in error messages
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

                    messages.addErrorsCrudFailedToCreateInstance(GLOBAL);
                });
                return null;
            });
            try {
                roleService.store(entity);
            } catch (final Exception e) {
                logger.warn("Failed to process a request.", e);
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/CryptoTest.java

            assertNotNull(result);
            assertTrue(result.length > 0, "HMAC-T64 should produce non-empty result");
        }
    
        @Test
        @DisplayName("Should perform RC4 encryption/decryption")
        void testRC4() throws Exception {
            // Given
            byte[] key = "testkey123456789".getBytes(); // 16 bytes
            byte[] plaintext = "This is a test message for RC4".getBytes();
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

         * Test the extractProjectId method to ensure it properly falls back to rawModel or fileModel
         * when effectiveModel is null, addressing issue #11292.
         */
        @Test
        void testExtractProjectIdFallback() throws Exception {
            // Use reflection to access the private extractProjectId method
            Method extractProjectIdMethod =
                    DefaultProjectBuilder.class.getDeclaredMethod("extractProjectId", ModelBuilderResult.class);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

            /** Indicates that a URL was evaluated for crawling eligibility. */
            EVALUATED,
            /** Indicates that a general exception occurred during processing. */
            EXCEPTION,
            /** Indicates that processing of a URL has finished. */
            FINISHED,
            /** Indicates that content was successfully parsed. */
            PARSED,
            /** Indicates that a URL was prepared for crawling. */
            PREPARED,
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/MultiChannelManager.java

                    try {
                        return ni.isLoopback() || !ni.isUp() || ni.isVirtual();
                    } catch (Exception e) {
                        return true;
                    }
                });
                return interfaces;
            } catch (Exception e) {
                log.warn("Failed to get network interfaces: {}", e.getMessage());
                return Collections.emptyList();
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.entity.ExtractData;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.ExtractException;
    
    /**
     * Abstract base class for XML extractors.
     * Provides common functionality for extracting text content from XML-like documents.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

        @MethodSource("wrapExceptions")
        void connectWrapException_wrapsToSmbException(SmbResourceLocatorImpl loc, Exception thrown) throws Exception {
            // Arrange: spy on instance to force connect() failure with specific exception
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top