Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 2,153 for Exception (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            CurlException exception = new CurlException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertSame(cause, exception.getCause());
            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
        public void testConstructorWithNullMessage() {
            CurlException exception = new CurlException(null);
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Jul 31 01:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

         * @param exception The exception that caused this problem, may be {@code null}.
         */
        // mkleint: does this need to be public?
        public DefaultModelProblem(
                String message,
                Severity severity,
                Version version,
                Model source,
                int lineNumber,
                int columnNumber,
                Exception exception) {
            this(
                    message,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                // Just verify no exceptions occurred
    
                // Clean up
                processHelper.destroyProcess(sessionId1);
                processHelper.destroyProcess(sessionId2);
    
                // Test passes if no exceptions thrown
                assertTrue(true);
            } catch (Exception e) {
                fail("Unexpected exception: " + e.getMessage());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            // Setup mock SearchLogHelper that throws wrapped checked exception
            SearchLogHelper mockSearchLogHelper = new SearchLogHelper() {
                @Override
                public void storeSearchLog() {
                    try {
                        throw new Exception("Checked exception");
                    } catch (Exception e) {
                        throw new RuntimeException("Wrapped: " + e.getMessage(), e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            try {
                int result = errorCrawler.doCrawl(options);
                // Should catch the exception and return EXIT_FAIL
                assertEquals(Constants.EXIT_FAIL, result);
            } catch (RuntimeException e) {
                // Expected behavior - test exception propagates
                assertEquals("Test exception", e.getMessage());
            }
        }
    
        // Test writeTimeToSessionInfo method
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            validator = new ServerResponseValidator();
        }
    
        @Test
        public void testValidBuffer() throws Exception {
            byte[] buffer = new byte[1024];
            validator.validateBuffer(buffer, 100, 2048);
            // Should pass without exception
        }
    
        @Test
        public void testNullBuffer() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validateBuffer(null, 100, 1024);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

      protected static final int VALID_INPUT_DATA = 1;
      protected static final Exception EXCEPTION = new Exception("Test exception");
    
      protected SettableFuture<Integer> inputFuture;
      protected ListenableFuture<T> resultFuture;
      protected MockFutureListener listener;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        inputFuture = SettableFuture.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

        @Test
        public void test_getFieldValues_nullDocument() throws Exception {
            Map<String, Object> document = new HashMap<>();
            String[] values = parser.getFieldValues(document, "nonexistent");
    
            assertEquals("Non-existent field should return empty array", 0, values.length);
        }
    
        @Test
        public void test_getFieldValues_emptyList() throws Exception {
            Map<String, Object> document = new HashMap<>();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizerTest.java

    public class FullWidthToHalfWidthAlphabetNormalizerTest {
    
        @Test
        public void test_constructor() throws Exception {
            FullWidthToHalfWidthAlphabetNormalizer normalizer = new FullWidthToHalfWidthAlphabetNormalizer();
            assertNotNull(normalizer);
        }
    
        @Test
        public void test_lowercaseAlphabet() throws Exception {
            FullWidthToHalfWidthAlphabetNormalizer normalizer = new FullWidthToHalfWidthAlphabetNormalizer();
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testTimeConverter() throws Exception {
            assertThat(new CopyOptions().timeConverter("ss").convertValue(new java.sql.Time(0), "aaa", String.class), is((Object) "00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testTimestampConverter() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top