Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 364 for RuntimeException (0.09 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

                method.setAccessible(true);
                return (ClassificationMeta) method.invoke(obj, param);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

            },
            directExecutor());
        assertThat(called[0]).isTrue();
      }
    
      // Avoid trouble with automatic mapping between JRE and Kotlin runtime classes.
      static class CustomRuntimeException extends RuntimeException {}
    
      public void testCatching() throws Exception {
        FluentFuture<?> f =
            FluentFuture.from(immediateFailedFuture(new CustomRuntimeException()))
                .catching(
                    Throwable.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportImplTest.java

            try {
                Field f = findField(target.getClass(), name);
                f.setAccessible(true);
                f.set(target, value);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        // Utility: reflectively get a private/protected field (searches up the hierarchy)
        private static Object getField(Object target, String name) {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

                        try {
                            return File.createTempFile(prefix, suffix);
                        } catch (Exception e) {
                            throw new RuntimeException(e);
                        }
                    }
                };
                ComponentUtil.register(mockSystemHelper, "systemHelper");
    
                // Register mock FessConfig
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

            //     int accessFlags = convertAccessFlags(access);
            //     memoryRegister = endpoint.registerMemory(buffer, accessFlags).execute().free();
            // } catch (Exception e) {
            //     throw new RuntimeException("Failed to register memory region", e);
            // }
    
            this.memoryRegister = new Object(); // Placeholder
    
            log.debug("DiSNI memory region registered, size: {}", buffer.remaining());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

                java.lang.reflect.Field f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
                return f.get(target);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          throws InterruptedException {
    
        int count = 10;
        AtomicInteger callCount = new AtomicInteger();
        CountDownLatch startSignal = new CountDownLatch(count + 1);
        RuntimeException e = new RuntimeException();
    
        LoadingCache<String, String> cache =
            builder.build(
                new CacheLoader<String, String>() {
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            }
        }
    
        public void test_setError_withException_noRequest() {
            // Test setError with exception when no HTTP request is available
            try {
                WebApiUtil.setError(500, new RuntimeException("Test error"));
            } catch (Exception e) {
                fail("setError should handle missing request gracefully: " + e.getMessage());
            }
        }
    
        public void test_setError_withNullMessage() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

                @Override
                public int getRid() {
                    return 0;
                }
    
                @Override
                public String toDisplayString() {
                    throw new RuntimeException("Test exception");
                }
    
                @Override
                public String getAccountName() {
                    return "TestUser";
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top