Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 601 for causes (0.03 sec)

  1. guava-tests/test/com/google/common/util/concurrent/TestThread.java

      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned
       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned
       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Throwables.java

        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
          causes.add(throwable);
    
          if (throwable == slowPointer) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                    final Throwable[] causes = mcae.getCauses();
                    if (causes.length > 0) {
                        t = causes[causes.length - 1];
                    }
                }
    
                String errorName;
                final Throwable cause = t.getCause();
                if (cause != null) {
                    errorName = cause.getClass().getCanonicalName();
                } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ThreadUtil.java

    public abstract class ThreadUtil {
    
        private static final Logger logger = Logger.getLogger(ThreadUtil.class);
    
        /**
         * Do not instantiate.
         */
        protected ThreadUtil() {
        }
    
        /**
         * Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
         *
         * @param millis
         *            the length of time to sleep in milliseconds
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

        }
    
        public void test_constructor_withCause() {
            // Test with cause only
            Exception cause = new IllegalStateException("Underlying error");
            DataStoreException exception = new DataStoreException(cause);
    
            assertNotNull(exception);
            assertEquals(cause, exception.getCause());
            assertEquals("java.lang.IllegalStateException: Underlying error", exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            // Test constructor with null message but valid cause
            Exception cause = new IllegalArgumentException("Invalid argument");
            DictionaryException exception = new DictionaryException(null, cause);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNotNull(exception.getCause());
            assertEquals(cause, exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
      public void testBadArguments_null() {
        assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false));
      }
    
      /**
       * Tests that specifying any alphanumeric characters as 'safe' causes an {@link
       * IllegalArgumentException}.
       */
      public void testBadArguments_badchars() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            // Test constructor with message and cause
            String message = "Storage operation failed";
            Exception cause = new RuntimeException("Underlying error");
            StorageException exception = new StorageException(message, cause);
    
            assertNotNull(exception);
            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
    - 7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertSame(cause, getRootCause(exception));
      }
    
      public void testGetRootCause_loop() {
        Exception cause = new Exception();
        Exception exception = new Exception(cause);
        cause.initCause(exception);
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> getRootCause(cause));
        assertThat(expected).hasCauseThat().isSameInstanceAs(cause);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top