Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 426 for Throwables (0.05 sec)

  1. guava/src/com/google/common/hash/ChecksumHashFunction.java

        static boolean updateByteBuffer(Checksum cs, ByteBuffer bb) {
          if (UPDATE_BB != null) {
            try {
              UPDATE_BB.invokeExact(cs, bb);
            } catch (Throwable e) {
              // `update` has no `throws` clause.
              sneakyThrow(e);
            }
            return true;
          } else {
            return false;
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

        Object newValue = new Object();
        valueRef.set(newValue);
        assertSame(newValue, cache.getUnchecked(new Object()));
      }
    
      public void testGetUnchecked_otherThrowable() {
        Throwable cause = new Throwable();
        AtomicReference<Object> valueRef = new AtomicReference<>();
        LoadingCache<Object, Object> cache =
            new AbstractLoadingCache<Object, Object>() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

       * network. Incoming events may have been lost. No further calls to this listener will be made.
       */
      open fun onFailure(
        eventSource: EventSource,
        t: Throwable?,
        response: Response?,
      ) {
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutures.java

       *   <li>{@code get()} must not block, and it must throw an {@code ExecutionException} with the
       *       return value of this method as its cause
       * </ul>
       */
      public static
          Throwable
          tryInternalFastPathGetFailure(InternalFutureFailureAccess future) {
        return future.tryInternalFastPathGetFailure();
      }
    
      private InternalFutures() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java

         * @param cause the underlying exception
         */
        public NoSuchMethodRuntimeException(final Class<?> targetClass, final String methodName, final Class<?>[] argTypes,
                final Throwable cause) {
            super("ECL0057", asArray(targetClass.getName(), MethodUtil.getSignature(methodName, argTypes)), cause);
            this.targetClass = targetClass;
            this.methodName = methodName;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          return; // someone else has run or is running.
        }
    
        boolean run = !isDone();
        T result = null;
        Throwable error = null;
        try {
          if (run) {
            result = runInterruptibly();
          }
        } catch (Throwable t) {
          restoreInterruptIfIsInterruptedException(t);
          error = t;
        } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Invokable.java

      public final ImmutableList<TypeToken<? extends Throwable>> getExceptionTypes() {
        ImmutableList.Builder<TypeToken<? extends Throwable>> builder = ImmutableList.builder();
        for (Type type : getGenericExceptionTypes()) {
          // getGenericExceptionTypes() will never return a type that's not exception
          @SuppressWarnings("unchecked")
          TypeToken<? extends Throwable> exceptionType =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

              route.address.url.toUri(),
              route.proxy.address(),
              e,
            )
          }
          user.connectFailed(route, null, e)
          return ConnectResult(plan = this, throwable = e)
        } finally {
          user.removePlanToCancel(this)
          if (!success) {
            rawSocket?.closeQuietly()
          }
        }
      }
    
      override fun connectTlsEtc(): ConnectResult {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

        }
    
        @Override
        void afterRanInterruptiblySuccess(@ParametricNullness V result) {
          TrustedListenableFutureTask.this.set(result);
        }
    
        @Override
        void afterRanInterruptiblyFailure(Throwable error) {
          setException(error);
        }
    
        @Override
        String toPendingString() {
          return callable.toString();
        }
      }
    
      @WeakOuter
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/InvalidArtifactRTException.java

            this.type = type;
            this.baseMessage = message;
        }
    
        public InvalidArtifactRTException(
                String groupId, String artifactId, String version, String type, String message, Throwable cause) {
            super(cause);
    
            this.groupId = groupId;
            this.artifactId = artifactId;
            this.version = version;
            this.type = type;
            this.baseMessage = message;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top