Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 491 for pause (0.01 sec)

  1. android/guava/src/com/google/common/collect/ComputationException.java

     *     from Guava.)
     */
    @Deprecated
    @GwtCompatible
    public class ComputationException extends RuntimeException {
      /** Creates a new instance with the given cause. */
      public ComputationException(@Nullable Throwable cause) {
        super(cause);
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ComputationException.java

     *     from Guava.)
     */
    @Deprecated
    @GwtCompatible
    public class ComputationException extends RuntimeException {
      /** Creates a new instance with the given cause. */
      public ComputationException(@Nullable Throwable cause) {
        super(cause);
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/IllegalBlockSizeRuntimeException.java

        /**
         * Creates a new {@link IllegalBlockSizeRuntimeException} with the specified cause.
         *
         * @param cause
         *            the cause
         */
        public IllegalBlockSizeRuntimeException(final IllegalBlockSizeException cause) {
            super("ECL0105", new Object[] { cause.getMessage() }, cause);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val onlyIfCached: Boolean = cacheControl.onlyIfCached()
        val noTransform: Boolean = cacheControl.noTransform()
        val immutable: Boolean = cacheControl.immutable()
        val parse: CacheControl = CacheControl.parse(Headers.of())
      }
    
      @Test @Disabled
      fun challenge() {
        val challenge = Challenge("", mapOf("" to ""))
        val scheme: String = challenge.scheme()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

        }
    
        public void test_constructorWithMessageAndCause() {
            // Test constructor with message and cause
            String message = "GSA configuration error with cause";
            Throwable cause = new RuntimeException("Root cause exception");
            GsaConfigException exception = new GsaConfigException(message, cause);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          Throwable cause, Class<X> exceptionClass) throws X {
        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        }
        if (cause instanceof RuntimeException) {
          throw new UncheckedExecutionException(cause);
        }
        throw newWithCause(exceptionClass, cause);
      }
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

          }
        } catch (ite: InvocationTargetException) {
          if (!expectedFailure(className, ite.cause!!)) {
            throw ite.cause!!
          }
        }
      }
    
      @Suppress("UNUSED_PARAMETER")
      private fun expectedFailure(
        className: String,
        cause: Throwable,
      ): Boolean =
        when (className) {
          "okhttp3.recipes.CheckHandshake" -> true // by design
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

     * the License.
     */
    
    package com.google.common.util.concurrent.internal;
    
    
    /**
     * A future that, if it fails, may <i>optionally</i> provide access to the cause of the failure.
     *
     * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from
     * this optimization, so there is no need to specialize methods to return or accept this type
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. 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)
Back to top