Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 364 for RuntimeException (0.35 sec)

  1. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        return !RuntimeException.class.isAssignableFrom(type);
      }
    
      @VisibleForTesting
      static void checkExceptionClassValidity(Class<? extends Exception> exceptionClass) {
        checkArgument(
            isCheckedException(exceptionClass),
            "Futures.getChecked exception type (%s) must not be a RuntimeException",
            exceptionClass);
        checkArgument(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

        }
    
        public void test_constructorWithMessageAndCause() {
            // Test constructor with message and cause
            String message = "Test scheduled job error with cause";
            Throwable cause = new RuntimeException("Root cause exception");
            ScheduledJobException exception = new ScheduledJobException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException)
              .put(SomeError.class, e -> e instanceof SomeError)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

            assertTrue(exception instanceof RuntimeCIFSException, "Should extend RuntimeCIFSException");
            assertTrue(exception instanceof RuntimeException, "Should be a RuntimeException");
        }
    
        @Test
        @DisplayName("Message constructor should create exception with specified message")
        void testMessageConstructor() {
            // Given & When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

                @Override
                public void onShutdown() {
                    throw new RuntimeException("Test exception");
                }
            });
    
            try {
                jobExecutor.shutdown();
                fail("Expected RuntimeException");
            } catch (RuntimeException e) {
                assertEquals("Test exception", e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                            if (this.lmHash.length == 0 && this.ntHash.length == 0) {
                                throw new RuntimeException("Null setup prohibited.");
                            }
                        } else if (tc.getConfig().isDisablePlainTextPasswords()) {
                            throw new RuntimeException("Plain text passwords are disabled");
                        } else {
                            // plain text
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java

     * It extends the RuntimeException class and provides constructors for creating exceptions with a message, a cause, or both.
     * It also provides a protected constructor that allows to specify whether or not suppression is enabled or stack trace is writable.
     */
    public class CrawlerSystemException extends RuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException)
              .put(SomeError.class, e -> e instanceof SomeError)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      public void testSubscriberThrowsException() throws Exception {
        RecordingSubscriberExceptionHandler handler = new RecordingSubscriberExceptionHandler();
        EventBus eventBus = new EventBus(handler);
        RuntimeException exception = new RuntimeException("but culottes have a tendency to ride up!");
        Object subscriber =
            new Object() {
              @Subscribe
              public void throwExceptionOn(String message) {
                throw exception;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

        assertTrue(listener.isEmpty());
        checkEmpty(cache);
      }
    
      public void testGet_runtimeException() {
        RuntimeException e = new RuntimeException();
        LoadingCache<Object, Object> map =
            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(exceptionLoader(e));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top