Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for exceptions (0.22 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

       * @param exceptionType the exception type that triggers use of {@code fallback}. The exception
       *     type is matched against the input's exception. "The input's exception" means the cause of
       *     the {@link ExecutionException} thrown by {@code input.get()} or, if {@code get()} throws a
       *     different kind of exception, that exception itself. To avoid hiding bugs and other
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

    import org.jetbrains.kotlin.utils.addIfNotNull
    import org.jetbrains.kotlin.utils.addToStdlib.safeAs
    import org.jetbrains.kotlin.utils.exceptions.checkWithAttachment
    import org.jetbrains.kotlin.utils.exceptions.errorWithAttachment
    import org.jetbrains.kotlin.utils.exceptions.rethrowExceptionWithDetails
    import org.jetbrains.kotlin.utils.exceptions.withPsiEntry
    
    internal class KtFirCallResolver(
        override val analysisSession: KtFirAnalysisSession,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          } catch (Exception | StackOverflowError e) {
            // Any Exception is either a RuntimeException or sneaky checked exception.
            //
            // Don't call getMessage or toString() on the exception, in case the exception thrown by the
            // subclass is implemented with bugs similar to the subclass.
            pendingDescription = "Exception thrown from implementation: " + e.getClass();
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Preconditions.java

       *
       * But the methods in this class want to throw different exceptions, depending on the args, so it
       * appears that this pattern is not directly applicable. But we can use the ridiculous, devious
       * trick of throwing an exception in the middle of the construction of another exception. Hotspot
       * is fine with that.
       */
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

       * CacheLoader#reload}
       * to obtain a future of the new value. If the returned future is already complete, it is returned
       * immediately. Otherwise, the old value is returned.
       *
       * <p><b>Note:</b> <i>all exceptions thrown during refresh will be logged and then swallowed</i>.
       *
       * @param duration the length of time after an entry is created that it should be considered
       *     stale, and thus eligible for refresh
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Preconditions.java

       *
       * But the methods in this class want to throw different exceptions, depending on the args, so it
       * appears that this pattern is not directly applicable. But we can use the ridiculous, devious
       * trick of throwing an exception in the middle of the construction of another exception. Hotspot
       * is fine with that.
       */
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

     *  Fix: Release the connection if `Authenticator` throws an exception.
     *  Fix: Change the declaration of `OkHttpClient.cache()` to return a `@Nullable Cache`. The return
        value has always been nullable but it wasn't declared properly.
     *  Fix: Reverse suppression of connect exceptions. When both a call and its retry fail, we now
        throw the initial exception which is most likely to be actionable.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(key, result.get(1));
        assertEquals(key + suffix, cache.getUnchecked(key));
      }
    
      static <T> Callable<T> throwing(final Exception exception) {
        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(key, result.get(1));
        assertEquals(key + suffix, cache.getUnchecked(key));
      }
    
      static <T> Callable<T> throwing(final Exception exception) {
        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

    import org.jetbrains.kotlin.resolve.calls.tower.CandidateApplicability
    import org.jetbrains.kotlin.utils.addIfNotNull
    import org.jetbrains.kotlin.utils.addToStdlib.firstIsInstanceOrNull
    import org.jetbrains.kotlin.utils.exceptions.errorWithAttachment
    
    internal class KtFirReferenceShortener(
        override val analysisSession: KtFirAnalysisSession,
        override val token: KtLifetimeToken,
        override val firResolveSession: LLFirResolveSession,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
Back to top