Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 492 for RuntimeException (0.11 seconds)

  1. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            ServletRuntimeException runtimeException = new ServletRuntimeException(servletException);
    
            // Verify it's an instance of RuntimeException
            assertTrue(runtimeException instanceof RuntimeException);
            assertTrue(runtimeException instanceof Exception);
            assertTrue(runtimeException instanceof Throwable);
        }
    
        @Test
        public void test_stackTrace() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            // Test with RuntimeException
            RuntimeException runtimeException = new RuntimeException("Unexpected error");
            DataStoreCrawlingException exception3 = new DataStoreCrawlingException(url, message, runtimeException);
            assertTrue(exception3.getCause() instanceof RuntimeException);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            ContainerNotAvailableException exception1 = new ContainerNotAvailableException(componentName1, new RuntimeException());
            assertEquals(componentName1, exception1.getComponentName());
    
            ContainerNotAvailableException exception2 = new ContainerNotAvailableException(new RuntimeException());
            assertEquals("container", exception2.getComponentName());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            assertTrue(exception2.getCause() instanceof IllegalArgumentException);
    
            RuntimeException runtimeException = new RuntimeException("Runtime error");
            SsoLoginException exception3 = new SsoLoginException(message, runtimeException);
            assertTrue(exception3.getCause() instanceof RuntimeException);
        }
    
        @Test
        public void test_constructorWithThrowableCause_NullError() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            });
    
            // Test with runtime exception
            RuntimeException runtimeException = new IllegalArgumentException("Illegal arg");
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException(runtimeException);
                assertEquals(runtimeException, exception.getCause());
            });
    
            // Test with error
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

        try {
          super.testEntrySetRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's HashMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRetainAllNullFromEmpty() {
        try {
          super.testEntrySetRetainAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's HashMap.entrySet().retainAll(null) doesn't throws NPE.
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

        try {
          super.testEntrySetRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRetainAllNullFromEmpty() {
        try {
          super.testEntrySetRetainAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().retainAll(null) doesn't throws NPE.
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        timeLimiter.runWithTimeout(Runnables.doNothing(), DELAY_MS, MILLISECONDS);
      }
    
      public void testRunWithTimeout_wrapsUncheckedException() throws Exception {
        RuntimeException exception = new RuntimeException("test");
        UncheckedExecutionException e =
            assertThrows(
                UncheckedExecutionException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            // Test that RuntimeException still works (backward compatibility)
            String message = "Runtime error during thumbnail generation";
            RuntimeException runtimeException = new RuntimeException("Runtime issue");
            ThumbnailGenerationException exception = new ThumbnailGenerationException(message, runtimeException);
    
            assertEquals(message, exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/llm/LlmExceptionTest.java

            assertEquals("Error message", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructorWithMessageAndCause() {
            final RuntimeException cause = new RuntimeException("Root cause");
            final LlmException exception = new LlmException("Error occurred", cause);
            assertEquals("Error occurred", exception.getMessage());
            assertSame(cause, exception.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 04:19:06 GMT 2026
    - 5.7K bytes
    - Click Count (0)
Back to Top